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 (15)

PDF
Lab#1 good bad design
Yaowaluck Promdee
 
PPTX
e-Learning and YouTube
Eugene O'Loughlin
 
PPTX
Engage 2019 - De04. Java with Domino After XPages
Jesse Gallagher
 
PPTX
Snow Day? SNOw Problem!
ITeamBL
 
PPTX
Inspire learners, drive attainment - make FE learning resource services front...
Jisc
 
PPT
Enable Workshop CORE 2013
CORE Education
 
PDF
Javascript & DOM - Part 1- Javascript Tutorial for Beginners with Examples
OUM SAOKOSAL
 
PDF
PhoneGap in a Day
Troy Miles
 
PDF
Massively Open Online Courses (MOOCs)
Charles Severance
 
PPT
Con3023 How to get more kids to code (JavaOne 2013)
Saskia Vermeer-Ooms
 
PPTX
Eval of eight
Heidi Cameron
 
PPSX
Build automation for XPages - AUSLUG 2015
gregorbyte
 
PDF
Ideas for using iPads in High School Classrooms.
J Reid
 
PDF
Introduction to java
Ahmed Abbadi
 
PPTX
collegia college management project jdjdjdjdijd
ksai58701
 
Lab#1 good bad design
Yaowaluck Promdee
 
e-Learning and YouTube
Eugene O'Loughlin
 
Engage 2019 - De04. Java with Domino After XPages
Jesse Gallagher
 
Snow Day? SNOw Problem!
ITeamBL
 
Inspire learners, drive attainment - make FE learning resource services front...
Jisc
 
Enable Workshop CORE 2013
CORE Education
 
Javascript & DOM - Part 1- Javascript Tutorial for Beginners with Examples
OUM SAOKOSAL
 
PhoneGap in a Day
Troy Miles
 
Massively Open Online Courses (MOOCs)
Charles Severance
 
Con3023 How to get more kids to code (JavaOne 2013)
Saskia Vermeer-Ooms
 
Eval of eight
Heidi Cameron
 
Build automation for XPages - AUSLUG 2015
gregorbyte
 
Ideas for using iPads in High School Classrooms.
J Reid
 
Introduction to java
Ahmed Abbadi
 
collegia college management project jdjdjdjdijd
ksai58701
 
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
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
 
PPT
Kimchi Questionnaire
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
 
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
 
Kimchi Questionnaire
OUM SAOKOSAL
 

Recently uploaded (20)

PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPTX
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Digital Circuits, important subject in CS
contactparinay1
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Agentforce World Tour Toronto '25 - MCP with MuleSoft
Alexandra N. Martinez
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 

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