SlideShare a Scribd company logo
Java History ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sample Program - HelloWorld ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Key words  are lower case (Java is a  case   sensitive   language). Semi-colons  are used to end Java statements; however, not all lines of a Java program end a statement. ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Lines vs. Statements & Variables
Variables ,[object Object],72 The Java Virtual Machine (JVM) actually decides where the value will be placed in memory . 0x000 0x001 0x002 0x003 0x004 0x005 0x006 0x007 Assume that the this variable declaration has been made. int length = 72; The variable  length is a symbolic name for the memory location 0x003.
Compiler ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Program Development Process Text editor Source code (.java) Saves Java statements Java compiler Is read by Byte code (.class) Produces Java Virtual Machine Is interpreted by Program Execution Results in
Compiling a Java Program ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],javac  is the Java compiler. java  is the Java execution software.

More Related Content

What's hot

Core Java
Core JavaCore Java
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz
SAurabh PRajapati
 
Java features
Java featuresJava features
Java features
Prashant Gajendra
 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
Cognizant
 
CS Lesson: Introduction to the Java virtual Machine
CS Lesson: Introduction to the Java virtual MachineCS Lesson: Introduction to the Java virtual Machine
CS Lesson: Introduction to the Java virtual Machine
Katrin Becker
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
poonguzhali1826
 
An Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and RuntimeAn Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and Runtime
Omar Bashir
 
Java lab zero lecture
Java  lab  zero lectureJava  lab  zero lecture
Java lab zero lecture
vishal choudhary
 
Java lab lecture 1
Java  lab  lecture 1Java  lab  lecture 1
Java lab lecture 1
vishal choudhary
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
Laxman Puri
 
Core Java Tutorial
Core Java TutorialCore Java Tutorial
Core Java Tutorial
Java2Blog
 
Java Presentation
Java PresentationJava Presentation
Java Presentationpm2214
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Java notes
Java notesJava notes
Java notes
Manish Swarnkar
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
siyaram ray
 

What's hot (20)

Core Java
Core JavaCore Java
Core Java
 
Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz Java history, versions, types of errors and exception, quiz
Java history, versions, types of errors and exception, quiz
 
Java features
Java featuresJava features
Java features
 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
 
CS Lesson: Introduction to the Java virtual Machine
CS Lesson: Introduction to the Java virtual MachineCS Lesson: Introduction to the Java virtual Machine
CS Lesson: Introduction to the Java virtual Machine
 
Java basics notes
Java basics notesJava basics notes
Java basics notes
 
An Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and RuntimeAn Introduction to Java Compiler and Runtime
An Introduction to Java Compiler and Runtime
 
Java lab zero lecture
Java  lab  zero lectureJava  lab  zero lecture
Java lab zero lecture
 
Java lab lecture 1
Java  lab  lecture 1Java  lab  lecture 1
Java lab lecture 1
 
Java byte code & virtual machine
Java byte code & virtual machineJava byte code & virtual machine
Java byte code & virtual machine
 
Java essential notes
Java essential notesJava essential notes
Java essential notes
 
Core Java Tutorial
Core Java TutorialCore Java Tutorial
Core Java Tutorial
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
JAVA BYTE CODE
JAVA BYTE CODEJAVA BYTE CODE
JAVA BYTE CODE
 
3. jvm
3. jvm3. jvm
3. jvm
 
Java notes
Java notesJava notes
Java notes
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
 
JVM
JVMJVM
JVM
 
Java 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENTJava 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENT
 

Viewers also liked

Day #7 - 40 days with Jesus @ BBC
Day #7 - 40 days with Jesus @ BBCDay #7 - 40 days with Jesus @ BBC
Day #7 - 40 days with Jesus @ BBCJohn Douglas
 
Software social - Crime na web - evolução
Software social - Crime na web - evoluçãoSoftware social - Crime na web - evolução
Software social - Crime na web - evolução
Douglas Alves
 
le cadre juridique de l'accueil des stagiaires
le cadre juridique de l'accueil des stagiairesle cadre juridique de l'accueil des stagiaires
le cadre juridique de l'accueil des stagiaires
leccre35
 
Lu 12 49-53_long-term-peace
Lu 12 49-53_long-term-peaceLu 12 49-53_long-term-peace
Lu 12 49-53_long-term-peacejimlarsen
 
Jagratha News 115
Jagratha News 115Jagratha News 115
Jagratha News 115
kcbcshv
 
捷報:第二期——喜(洗)事連連之潔玲小組
捷報:第二期——喜(洗)事連連之潔玲小組捷報:第二期——喜(洗)事連連之潔玲小組
捷報:第二期——喜(洗)事連連之潔玲小組
NLCD12
 
Saroukh Volant dans le ciel :Daniel farah
Saroukh Volant dans le ciel :Daniel farahSaroukh Volant dans le ciel :Daniel farah
Saroukh Volant dans le ciel :Daniel farah
elianeycom
 

Viewers also liked (7)

Day #7 - 40 days with Jesus @ BBC
Day #7 - 40 days with Jesus @ BBCDay #7 - 40 days with Jesus @ BBC
Day #7 - 40 days with Jesus @ BBC
 
Software social - Crime na web - evolução
Software social - Crime na web - evoluçãoSoftware social - Crime na web - evolução
Software social - Crime na web - evolução
 
le cadre juridique de l'accueil des stagiaires
le cadre juridique de l'accueil des stagiairesle cadre juridique de l'accueil des stagiaires
le cadre juridique de l'accueil des stagiaires
 
Lu 12 49-53_long-term-peace
Lu 12 49-53_long-term-peaceLu 12 49-53_long-term-peace
Lu 12 49-53_long-term-peace
 
Jagratha News 115
Jagratha News 115Jagratha News 115
Jagratha News 115
 
捷報:第二期——喜(洗)事連連之潔玲小組
捷報:第二期——喜(洗)事連連之潔玲小組捷報:第二期——喜(洗)事連連之潔玲小組
捷報:第二期——喜(洗)事連連之潔玲小組
 
Saroukh Volant dans le ciel :Daniel farah
Saroukh Volant dans le ciel :Daniel farahSaroukh Volant dans le ciel :Daniel farah
Saroukh Volant dans le ciel :Daniel farah
 

Similar to About java

OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
NaorinHalim
 
JAVA for Every one
JAVA for Every oneJAVA for Every one
JAVA for Every one
Satyam Pandey
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
Rich Helton
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
Madhura Bhalerao
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Ankita Totala
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
Hamid Ghorbani
 
Unit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdfUnit-IV_Introduction to Java.pdf
Unit of competency
Unit of competencyUnit of competency
Unit of competency
loidasacueza
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
Nikhil Sharma
 
JAVA Program Examples
JAVA Program ExamplesJAVA Program Examples
JAVA Program Examples
Prof Chethan Raj C
 
Dr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to javaDr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to java
DrRajeshreeKhande
 
Intoduction to java
Intoduction to javaIntoduction to java
Intoduction to java
jalinder123
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Introduction to java programming tutorial
Introduction to java programming   tutorialIntroduction to java programming   tutorial
Introduction to java programming tutorial
jackschitze
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
DrPreethiD1
 
Chapter 1.3
Chapter 1.3Chapter 1.3
Chapter 1.3sotlsoc
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
 

Similar to About java (20)

OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
 
JAVA for Every one
JAVA for Every oneJAVA for Every one
JAVA for Every one
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
 
1.introduction to java
1.introduction to java1.introduction to java
1.introduction to java
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
 
Unit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdfUnit-IV_Introduction to Java.pdf
Unit-IV_Introduction to Java.pdf
 
Unit of competency
Unit of competencyUnit of competency
Unit of competency
 
Java virtual machine
Java virtual machineJava virtual machine
Java virtual machine
 
JAVA Program Examples
JAVA Program ExamplesJAVA Program Examples
JAVA Program Examples
 
Dr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to javaDr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to java
 
Intoduction to java
Intoduction to javaIntoduction to java
Intoduction to java
 
OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
 
Introduction to java programming tutorial
Introduction to java programming   tutorialIntroduction to java programming   tutorial
Introduction to java programming tutorial
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
 
Chapter 1.3
Chapter 1.3Chapter 1.3
Chapter 1.3
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 

About java

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. Program Development Process Text editor Source code (.java) Saves Java statements Java compiler Is read by Byte code (.class) Produces Java Virtual Machine Is interpreted by Program Execution Results in
  • 7.