SlideShare a Scribd company logo
Java Programming - Intro
Oum Saokosal
Master’s Degree in information systems,Jeonju
University,South Korea
012 252 752 / 070 252 752
oumsaokosal@gmail.com
Contact Me
• Tel: 012 252 752 / 070 252 752
• Email: oumsaokosal@gmail.com
• FB Page: https://facebook.com/kosalgeek
• PPT: http://www.slideshare.net/oumsaokosal
• YouTube: https://www.youtube.com/user/oumsaokosal
• Twitter: https://twitter.com/okosal
• Web: http://kosalgeek.com
History
•JamesGosling and Sun Microsystems
•Oak
•Java, May 20, 1995, SunWorld
•JavaApplet
•Java SE,Java EE, Java Java ME
•Android uses Java, doesn’t use JVM
3
Features of Java
• Java is object-oriented
• Java is interpreted
• Java is architecture-neutral
• Java is portable
• Java is multithreaded
• Java is dynamic
4
Java IDETools
• Eclipse
• Netbeans
• IntelliJ IDEA
5
Getting Started with Java
Programming
•A SimpleJavaApplication
•Compiling Programs
•ExecutingApplications
6
A Simple Application
Example 1.1
//This application program prints Welcome
//to Java!
package chapter1;
public class Welcome {
public static void main(String[] args) {
System.out.println("Welcome to Java!");
}
}
7
ExecutingApplications
•Compile: javac Welcome.java
•Run: java Welcome.class
8
Java
Interpreter
on Windows
Java
Interpreter
on Sun Solaris
Java
Interpreter
on Linux
Bytecode
Java
Interpreter
on Mac OS
Comments
In Java,comments:
//this is a single line comment
/* this is
a multiline comment
*/
9
Reserved Words
Reservedwords or keywords:
- class
- public
- static
- void
- int
- package
10
Modifiers
public
private
protected
(default)
11
Classes
A class is a template or blueprint for
objects.
public class Welcome {
}
12
Methods
Method: a collection of statements
that performs a sequence of
operations
It can be used even without fully
understanding the details of how it
works.
13
main Method
The main method provides the control of
program flow.The Java interpreter executes
the application by invoking the main method.
The main method looks like this:
public static void main(String[] args)
{
// Statements;
} 14

More Related Content

What's hot (20)

PDF
Spring boot introduction
Rasheed Waraich
 
PDF
Javaでやってみる The Twelve Factor App JJUG-CCC 2014 Fall 講演資料
Y Watanabe
 
PDF
Graylog
Knoldus Inc.
 
PDF
Developing and Deploying Apps with the Postgres FDW
Jonathan Katz
 
PDF
EM12c: Capacity Planning with OEM Metrics
Maaz Anjum
 
PDF
Developing RESTful Web APIs with Python, Flask and MongoDB
Nicola Iarocci
 
PDF
Appium 2.0 ではじめるモバイルアプリテスト
Masayuki Wakizaka
 
PPTX
Api testing
Keshav Kashyap
 
PPTX
Ruby on Rails Penetration Testing
3S Labs
 
PPT
hibernate with JPA
Mohammad Faizan
 
PDF
Robot Framework with Python | Edureka
Edureka!
 
PPTX
Beginners guide to_optimizer
Maria Colgan
 
PDF
웹서버 부하테스트 실전 노하우
IMQA
 
PPTX
Graylog advanced v1.2
Mạnh Đinh
 
PDF
GitLab & web hooks & git-flowで実現する企業向けgit環境の構築
CROOZ, inc.
 
PPTX
4. 대용량 아키텍쳐 설계 패턴
Terry Cho
 
PDF
REST APIs with Spring
Joshua Long
 
PDF
Concourseで快適な自動化の旅
Kazuto Kusama
 
PDF
elasticsearch-hadoopをつかってごにょごにょしてみる
Katsushi Yamashita
 
PDF
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
将之 小野
 
Spring boot introduction
Rasheed Waraich
 
Javaでやってみる The Twelve Factor App JJUG-CCC 2014 Fall 講演資料
Y Watanabe
 
Graylog
Knoldus Inc.
 
Developing and Deploying Apps with the Postgres FDW
Jonathan Katz
 
EM12c: Capacity Planning with OEM Metrics
Maaz Anjum
 
Developing RESTful Web APIs with Python, Flask and MongoDB
Nicola Iarocci
 
Appium 2.0 ではじめるモバイルアプリテスト
Masayuki Wakizaka
 
Api testing
Keshav Kashyap
 
Ruby on Rails Penetration Testing
3S Labs
 
hibernate with JPA
Mohammad Faizan
 
Robot Framework with Python | Edureka
Edureka!
 
Beginners guide to_optimizer
Maria Colgan
 
웹서버 부하테스트 실전 노하우
IMQA
 
Graylog advanced v1.2
Mạnh Đinh
 
GitLab & web hooks & git-flowで実現する企業向けgit環境の構築
CROOZ, inc.
 
4. 대용량 아키텍쳐 설계 패턴
Terry Cho
 
REST APIs with Spring
Joshua Long
 
Concourseで快適な自動化の旅
Kazuto Kusama
 
elasticsearch-hadoopをつかってごにょごにょしてみる
Katsushi Yamashita
 
意外と苦労する、一部の画面のみ ランドスケープ表示を許容する方法 (potatotips 第17回)
将之 小野
 

Viewers also liked (20)

PPTX
Android app development - Java Programming for Android
OUM SAOKOSAL
 
PPTX
Introduction to Advanced Javascript
Collaboration Technologies
 
PDF
Learning notes of r for python programmer (Temp1)
Chia-Chi Chang
 
PDF
Analysis of Fatal Utah Avalanches with Python. From Scraping, Analysis, to In...
Matt Harrison
 
PDF
Meetup Python Nantes - les tests en python
Arthur Lutz
 
PDF
Python - Lecture 1
Ravi Kiran Khareedi
 
PPT
Operator Overloading
Sardar Alam
 
PDF
PyCon 2013 : Scripting to PyPi to GitHub and More
Matt Harrison
 
PDF
Installing Python on Mac
Wei-Wen Hsu
 
PDF
Python for All
Pragya Goyal
 
PDF
Introduction to python
Yi-Fan Chu
 
PDF
Lesson1 python an introduction
Arulalan T
 
PDF
Python master class part 1
Chathuranga Bandara
 
DOCX
Introduction to Python - Running Notes
RajKumar Rampelli
 
PDF
Introduction to facebook java script sdk
Yi-Fan Chu
 
PPTX
Lec02 structures (2)
Khuder Altangerel
 
PPTX
Mastering python lesson2
Ruth Marvin
 
PDF
Introduction to facebook javascript sdk
Yi-Fan Chu
 
PDF
Running openCV project on Mac OS
Wei-Wen Hsu
 
PDF
Concise Notes on Python
Wei-Wen Hsu
 
Android app development - Java Programming for Android
OUM SAOKOSAL
 
Introduction to Advanced Javascript
Collaboration Technologies
 
Learning notes of r for python programmer (Temp1)
Chia-Chi Chang
 
Analysis of Fatal Utah Avalanches with Python. From Scraping, Analysis, to In...
Matt Harrison
 
Meetup Python Nantes - les tests en python
Arthur Lutz
 
Python - Lecture 1
Ravi Kiran Khareedi
 
Operator Overloading
Sardar Alam
 
PyCon 2013 : Scripting to PyPi to GitHub and More
Matt Harrison
 
Installing Python on Mac
Wei-Wen Hsu
 
Python for All
Pragya Goyal
 
Introduction to python
Yi-Fan Chu
 
Lesson1 python an introduction
Arulalan T
 
Python master class part 1
Chathuranga Bandara
 
Introduction to Python - Running Notes
RajKumar Rampelli
 
Introduction to facebook java script sdk
Yi-Fan Chu
 
Lec02 structures (2)
Khuder Altangerel
 
Mastering python lesson2
Ruth Marvin
 
Introduction to facebook javascript sdk
Yi-Fan Chu
 
Running openCV project on Mac OS
Wei-Wen Hsu
 
Concise Notes on Python
Wei-Wen Hsu
 
Ad

Similar to Java OOP Programming language (Part 1) - Introduction to Java (20)

PPTX
Introduction_to_Java_Programming_2025.pptx
Yahya NOUALI
 
DOCX
Introduction to java
jayc8586
 
PPT
01slide
cdclabs_123
 
PPT
01slide
Usha Sri
 
PPT
Servlets and JavaServer Pages (JSP) from the B.Sc. Computer Science and Infor...
RaguV6
 
PPTX
PPT 3.pptx For Java.....................
ayushjaiswal9494
 
PDF
Core Java Tutorial
eMexo Technologies
 
PPTX
Java
Harry Potter
 
PPTX
Java
James Wong
 
PPTX
Java
Tony Nguyen
 
PPTX
Java
Fraboni Ec
 
PPTX
Java
Luis Goldster
 
PPTX
Java
Young Alista
 
PDF
what is java.pdf
XanGwaps
 
PDF
Introduction to Java Programming.pdf
AdiseshaK
 
PPTX
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
PDF
Java trainingcourse(1)
Mahadi Hasan
 
PDF
Java Programming
Prof. Dr. K. Adisesha
 
PPTX
What is Java, JDK, JVM, Introduction to Java.pptx
kumarsuneel3997
 
PPT
Java Standard edition(Java ) programming Basics for beginner's
momin6
 
Introduction_to_Java_Programming_2025.pptx
Yahya NOUALI
 
Introduction to java
jayc8586
 
01slide
cdclabs_123
 
01slide
Usha Sri
 
Servlets and JavaServer Pages (JSP) from the B.Sc. Computer Science and Infor...
RaguV6
 
PPT 3.pptx For Java.....................
ayushjaiswal9494
 
Core Java Tutorial
eMexo Technologies
 
what is java.pdf
XanGwaps
 
Introduction to Java Programming.pdf
AdiseshaK
 
Java technology is widely used currently. Let's start learning of java from b...
aliblackcat76
 
Java trainingcourse(1)
Mahadi Hasan
 
Java Programming
Prof. Dr. K. Adisesha
 
What is Java, JDK, JVM, Introduction to Java.pptx
kumarsuneel3997
 
Java Standard edition(Java ) programming Basics for beginner's
momin6
 
Ad

More from OUM SAOKOSAL (20)

PPTX
Class Diagram | OOP and Design Patterns by Oum Saokosal
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 8) - Java Database JDBC
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 7) - Swing
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 6) - Abstract Class & Interface
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 5) - Inheritance
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 4) - Collection
OUM SAOKOSAL
 
PDF
Java OOP Programming language (Part 3) - Class and Object
OUM SAOKOSAL
 
PDF
Javascript & DOM - Part 1- Javascript Tutorial for Beginners with Examples
OUM SAOKOSAL
 
PDF
Aggregate rank bringing order to web sites
OUM SAOKOSAL
 
DOC
How to succeed in graduate school
OUM SAOKOSAL
 
PDF
Google
OUM SAOKOSAL
 
PDF
E miner
OUM SAOKOSAL
 
PDF
Data preparation for mining world wide web browsing patterns (1999)
OUM SAOKOSAL
 
PDF
Consumer acceptance of online banking an extension of the technology accepta...
OUM SAOKOSAL
 
DOCX
When Do People Help
OUM SAOKOSAL
 
DOC
Mc Nemar
OUM SAOKOSAL
 
DOCX
Correlation Example
OUM SAOKOSAL
 
DOC
Sem Ski Amos
OUM SAOKOSAL
 
PPT
Sem+Essentials
OUM SAOKOSAL
 
DOC
Path Spss Amos (1)
OUM SAOKOSAL
 
Class Diagram | OOP and Design Patterns by Oum Saokosal
OUM SAOKOSAL
 
Java OOP Programming language (Part 8) - Java Database JDBC
OUM SAOKOSAL
 
Java OOP Programming language (Part 7) - Swing
OUM SAOKOSAL
 
Java OOP Programming language (Part 6) - Abstract Class & Interface
OUM SAOKOSAL
 
Java OOP Programming language (Part 5) - Inheritance
OUM SAOKOSAL
 
Java OOP Programming language (Part 4) - Collection
OUM SAOKOSAL
 
Java OOP Programming language (Part 3) - Class and Object
OUM SAOKOSAL
 
Javascript & DOM - Part 1- Javascript Tutorial for Beginners with Examples
OUM SAOKOSAL
 
Aggregate rank bringing order to web sites
OUM SAOKOSAL
 
How to succeed in graduate school
OUM SAOKOSAL
 
Google
OUM SAOKOSAL
 
E miner
OUM SAOKOSAL
 
Data preparation for mining world wide web browsing patterns (1999)
OUM SAOKOSAL
 
Consumer acceptance of online banking an extension of the technology accepta...
OUM SAOKOSAL
 
When Do People Help
OUM SAOKOSAL
 
Mc Nemar
OUM SAOKOSAL
 
Correlation Example
OUM SAOKOSAL
 
Sem Ski Amos
OUM SAOKOSAL
 
Sem+Essentials
OUM SAOKOSAL
 
Path Spss Amos (1)
OUM SAOKOSAL
 

Recently uploaded (20)

PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Digital Circuits, important subject in CS
contactparinay1
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 

Java OOP Programming language (Part 1) - Introduction to Java

  • 1. Java Programming - Intro Oum Saokosal Master’s Degree in information systems,Jeonju University,South Korea 012 252 752 / 070 252 752 [email protected]
  • 2. Contact Me • Tel: 012 252 752 / 070 252 752 • Email: [email protected] • FB Page: https://facebook.com/kosalgeek • PPT: http://www.slideshare.net/oumsaokosal • YouTube: https://www.youtube.com/user/oumsaokosal • Twitter: https://twitter.com/okosal • Web: http://kosalgeek.com
  • 3. History •JamesGosling and Sun Microsystems •Oak •Java, May 20, 1995, SunWorld •JavaApplet •Java SE,Java EE, Java Java ME •Android uses Java, doesn’t use JVM 3
  • 4. Features of Java • Java is object-oriented • Java is interpreted • Java is architecture-neutral • Java is portable • Java is multithreaded • Java is dynamic 4
  • 5. Java IDETools • Eclipse • Netbeans • IntelliJ IDEA 5
  • 6. Getting Started with Java Programming •A SimpleJavaApplication •Compiling Programs •ExecutingApplications 6
  • 7. A Simple Application Example 1.1 //This application program prints Welcome //to Java! package chapter1; public class Welcome { public static void main(String[] args) { System.out.println("Welcome to Java!"); } } 7
  • 8. ExecutingApplications •Compile: javac Welcome.java •Run: java Welcome.class 8 Java Interpreter on Windows Java Interpreter on Sun Solaris Java Interpreter on Linux Bytecode Java Interpreter on Mac OS
  • 9. Comments In Java,comments: //this is a single line comment /* this is a multiline comment */ 9
  • 10. Reserved Words Reservedwords or keywords: - class - public - static - void - int - package 10
  • 12. Classes A class is a template or blueprint for objects. public class Welcome { } 12
  • 13. Methods Method: a collection of statements that performs a sequence of operations It can be used even without fully understanding the details of how it works. 13
  • 14. main Method The main method provides the control of program flow.The Java interpreter executes the application by invoking the main method. The main method looks like this: public static void main(String[] args) { // Statements; } 14