SlideShare a Scribd company logo
1 of 10
Instructor: รัฐภูมิ   เถือนถนอม
                           ่
  Email: ratapoom@orjix.com




                             JAVA Programming

“When you are willing to make sacrifices for a
great cause, you will never be alone.”
About the Java Technology
        The Java Programming Language

             • Java technology is both a programming
               language and a platform
             • High-level language
                 •   Simple
                 •   Object oriented
                 •   Distributed
                 •   Multithreaded
                 •   Portable
                 •   Robust
                 •   High performance




Bytecodes — the machine language of the Java Virtual Machin
About the Java Technology
        The Java Programming Language

             • Write once, run anywhere




Java VM, the same application is capable of running on multip
About the Java Technology
The Java Platform

      • A platform is the hardware or software
        environment in which a program runs
      • The Java platform has two components
           •   The Java Virtual Machine
           •   The Java Application Programming Interface (API)
      • A large collection of ready-made software
        components
      • Grouped into libraries of related classes and
        interfaces; these libraries are known as packages
“Hello World” for Microsoft Windows
               • Checklist
                   •   The Java SE Development Kit (JDK6)
                   •   A text editor (Notepad)
                   •   Eclipse (Integrated Development Environment)



/**  
* The HelloWorldApp class implements an application that  
* simply prints "Hello World!" to standard output.  
*/
class HelloWorldApp {    
       public static void main(String[] args) {         
               System.out.println("Hello World!"); // Display the string.    
       }
}
Java APIs
Application Programming Interface

      • Java Platform, Standard Edition (Java SE)
          •   lets you develop and deploy Java applications on
              desktops and servers
      • Java Platform, Enterprise Edition (Java EE)
          •   the industry standard for implementing enterprise-
              class service-oriented architecture (SOA) and next-
              generation web applications
      • Java Platform, Micro Edition (Java ME)
          •   a robust, flexible environment for applications
              running on mobile and other embedded devices
Code Conventions
for Java Programming

      • Filenames, file organization, indentation,
        comments, declarations, statements, white
        space, naming conventions, programming
        practices
      • 80% of the lifetime cost of a piece of software
        goes to maintenance.
      • Hardly any software is maintained for its whole
        life by the original author.
      • Code conventions improve the readability of the
        software, allowing engineers to understand new
        code more quickly and thoroughly.
      • http://
        java.sun.com/docs/codeconv/html/CodeConvTOC.doc.htm
Software Development Knowledge

               Programming and Technologies




Software Analysis and Design   Software Development Process
      (Object-oriented)              and Management
References
   • http://java.sun.com/docs/books/tutorial/essentia
     l/index.html
   • http://java.sun.com/
   • http://www.eclipse.org/
   • http://java.sun.com/docs/codeconv/html/Code
     ConvTOC.doc.html
References
   • http://java.sun.com/docs/books/tutorial/essentia
     l/index.html
   • http://java.sun.com/
   • http://www.eclipse.org/
   • http://java.sun.com/docs/codeconv/html/Code
     ConvTOC.doc.html

More Related Content

What's hot (20)

JVM
JVMJVM
JVM
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java history 01
Java history 01Java history 01
Java history 01
 
Java features
Java featuresJava features
Java features
 
Introduction To Core Java - SpringPeople
Introduction To Core Java - SpringPeopleIntroduction To Core Java - SpringPeople
Introduction To Core Java - SpringPeople
 
Core java
Core java Core java
Core java
 
Introduction of java technology
Introduction of java technologyIntroduction of java technology
Introduction of java technology
 
Features of java - javatportal
Features of java - javatportalFeatures of java - javatportal
Features of java - javatportal
 
Lara Technology
Lara TechnologyLara Technology
Lara Technology
 
Java
JavaJava
Java
 
Java
JavaJava
Java
 
Introduction to Core Java Programming
Introduction to Core Java ProgrammingIntroduction to Core Java Programming
Introduction to Core Java Programming
 
haXe - One codebase to rule'em all
haXe - One codebase to rule'em allhaXe - One codebase to rule'em all
haXe - One codebase to rule'em all
 
Lara technologies
Lara technologiesLara technologies
Lara technologies
 
itft-Java evolution
itft-Java evolutionitft-Java evolution
itft-Java evolution
 
Jvm
JvmJvm
Jvm
 
Core java environment setup and details
Core java environment setup and detailsCore java environment setup and details
Core java environment setup and details
 
Java Presentation
 Java Presentation Java Presentation
Java Presentation
 
Presentation5
Presentation5Presentation5
Presentation5
 
Learn Java Part 1
Learn Java Part 1Learn Java Part 1
Learn Java Part 1
 

Viewers also liked

Viewers also liked (8)

Treball Slideshare
Treball SlideshareTreball Slideshare
Treball Slideshare
 
Word Formation
Word FormationWord Formation
Word Formation
 
119372
119372119372
119372
 
French Revolution
French RevolutionFrench Revolution
French Revolution
 
How we get fat
How we get fatHow we get fat
How we get fat
 
Finance Deck 11062014
Finance Deck 11062014Finance Deck 11062014
Finance Deck 11062014
 
HelpMariana - Feijoada fundraiser 2015-01-11
HelpMariana - Feijoada fundraiser 2015-01-11HelpMariana - Feijoada fundraiser 2015-01-11
HelpMariana - Feijoada fundraiser 2015-01-11
 
Maria
MariaMaria
Maria
 

Similar to Basic javaprogramming(session1)

Introduction to java
Introduction to java Introduction to java
Introduction to java Java Lover
 
Lecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastLecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastUzairSaeed18
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptRajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptCDSukte
 
Java chapter 1 basic introduction Unit-1.pptx
Java chapter  1 basic introduction Unit-1.pptxJava chapter  1 basic introduction Unit-1.pptx
Java chapter 1 basic introduction Unit-1.pptxnoosdysharma
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentationjuliasceasor
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introductionjyoti_lakhani
 
basic core java up to operator
basic core java up to operatorbasic core java up to operator
basic core java up to operatorkamal kotecha
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaattiqrocket
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal JavaPhilippe Riand
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptxSumanBhandari40
 

Similar to Basic javaprogramming(session1) (20)

Introduction to java
Introduction to java Introduction to java
Introduction to java
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
 
1 java intro
1 java intro1 java intro
1 java intro
 
Lecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 FastLecture-01 _Java Introduction CS 441 Fast
Lecture-01 _Java Introduction CS 441 Fast
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
Java chapter 1 basic introduction Unit-1.pptx
Java chapter  1 basic introduction Unit-1.pptxJava chapter  1 basic introduction Unit-1.pptx
Java chapter 1 basic introduction Unit-1.pptx
 
Curso de Programación Java Intermedio
Curso de Programación Java IntermedioCurso de Programación Java Intermedio
Curso de Programación Java Intermedio
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
 
JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1
 
basic core java up to operator
basic core java up to operatorbasic core java up to operator
basic core java up to operator
 
Lesson1 intro
Lesson1 introLesson1 intro
Lesson1 intro
 
Lesson1 intro
Lesson1 introLesson1 intro
Lesson1 intro
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
MWLUG - Universal Java
MWLUG  -  Universal JavaMWLUG  -  Universal Java
MWLUG - Universal Java
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
 
Java ppt1
Java ppt1Java ppt1
Java ppt1
 

Recently uploaded

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

Basic javaprogramming(session1)

  • 1. Instructor: รัฐภูมิ เถือนถนอม ่ Email: ratapoom@orjix.com JAVA Programming “When you are willing to make sacrifices for a great cause, you will never be alone.”
  • 2. About the Java Technology The Java Programming Language • Java technology is both a programming language and a platform • High-level language • Simple • Object oriented • Distributed • Multithreaded • Portable • Robust • High performance Bytecodes — the machine language of the Java Virtual Machin
  • 3. About the Java Technology The Java Programming Language • Write once, run anywhere Java VM, the same application is capable of running on multip
  • 4. About the Java Technology The Java Platform • A platform is the hardware or software environment in which a program runs • The Java platform has two components • The Java Virtual Machine • The Java Application Programming Interface (API) • A large collection of ready-made software components • Grouped into libraries of related classes and interfaces; these libraries are known as packages
  • 5. “Hello World” for Microsoft Windows • Checklist • The Java SE Development Kit (JDK6) • A text editor (Notepad) • Eclipse (Integrated Development Environment) /**   * The HelloWorldApp class implements an application that   * simply prints "Hello World!" to standard output.   */ class HelloWorldApp {       public static void main(String[] args) {          System.out.println("Hello World!"); // Display the string.     } }
  • 6. Java APIs Application Programming Interface • Java Platform, Standard Edition (Java SE) • lets you develop and deploy Java applications on desktops and servers • Java Platform, Enterprise Edition (Java EE) • the industry standard for implementing enterprise- class service-oriented architecture (SOA) and next- generation web applications • Java Platform, Micro Edition (Java ME) • a robust, flexible environment for applications running on mobile and other embedded devices
  • 7. Code Conventions for Java Programming • Filenames, file organization, indentation, comments, declarations, statements, white space, naming conventions, programming practices • 80% of the lifetime cost of a piece of software goes to maintenance. • Hardly any software is maintained for its whole life by the original author. • Code conventions improve the readability of the software, allowing engineers to understand new code more quickly and thoroughly. • http:// java.sun.com/docs/codeconv/html/CodeConvTOC.doc.htm
  • 8. Software Development Knowledge Programming and Technologies Software Analysis and Design Software Development Process (Object-oriented) and Management
  • 9. References • http://java.sun.com/docs/books/tutorial/essentia l/index.html • http://java.sun.com/ • http://www.eclipse.org/ • http://java.sun.com/docs/codeconv/html/Code ConvTOC.doc.html
  • 10. References • http://java.sun.com/docs/books/tutorial/essentia l/index.html • http://java.sun.com/ • http://www.eclipse.org/ • http://java.sun.com/docs/codeconv/html/Code ConvTOC.doc.html

Editor's Notes

  1. Insert a map of your country.
  2. Insert a map of your country.
  3. Insert a map of your country.
  4. Insert a map of your country.
  5. Insert a map of your country.
  6. Insert a map of your country.
  7. Insert a map of your country.
  8. Insert a map of your country.