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

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 

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.