SlideShare a Scribd company logo
1 of 21
[1]
[2]
CONTENTS:
 History
 Featurs of Java
 JDK & JRE, Bytecode & JVM
 Classes and objects
 Inheritance & Interfaces
 Multithreading
 Applets
 Advantages & Disadvantages
HISTORY OF JAVA
 Developed by Sun microsystems (U.S.) in 1991.
 Was designed for development of software for electronic devices.
 A team headed by James Gosling was formed to undertake this task.
 OOPs Language C++ was explored resulting in new language ‘Oak’.
 This team, The Green Project Team, demonstrated an application to
control home appliances using hand held touch screen device in 1992.
 In 1993, with www, this team game up with the idea of developing web
Applets using this language, to run on all types of connected computers.
 In 1994, the team developed ‘Hot Java’ browser.
 Oak was renamed to JAVA in 1995, due to legal snags.
 By the time of 1996, java established itself as a leader of Internet
Programming and a general purpose OOPs language.
[3]
FEATURES OF JAVA
 Simple
 Truly Object Oriented
 Platform Independent
 Distributed
 Interpreted
 Secure
 Robust
 Multithreaded
[19]
JDK AND JRE
• Java Runtime Environment (JRE) includes no of
development tools , classes and methods.
• Java Development Kit (JDK) is collection of tools used for
developing and running programs. This includes:
 Appletviewer: enables us to run Applets (without browser).
 Java: interpreter, reads bytecode files, runs Applets and
applications.
 Javac: compiler, translates source code to byte code files, that is
readable by interpreter.
 Jdb: java debugger
[4]
BYTE CODE & JVM
 A program exists in two forms: source code & object code.
 The program written in editor is source code.
 Executable form of this code is called as object code.
 Java compiler generates an object file containing bytecode.
 This bytecode is executable on any specific CPU.
 Java Virtual Machine (jvm) is a virtual machine, that can
execute this bytecode using interpreter.
[5]
Java
Program
Java
Compiler
Java
Virtual
Machine
PROCESS OF COMPILING
Bytecode
Java
Interprete
r
Machine
Code
CONVERSION OF BYTECODE INTO MACHINE CODE
[6]
Java Runtime Environment (JRE)
Java API Class JVM
Operating System
(Windows, Linux etc)
Hardware
[7]
CLASSES & OBJECTS
 An object is a bundle of related state and
behavior.
 Software objects are used to model real world
objects.
 A collection of objects is known as Class.
 Classes can be considered as a blueprint from
which objects are derived.
e.g. the statement fruit mango
creates an object mango of class fruit
[8]
A SIMPLE HELLO WORLD PROGRAM
class HelloWorldApp
{
public static void main (String args[])
{
System.out.println(“Hello World”);
}
}
[9]
INHERITANCE
 Enables user to derive new classes from existing ones.
 Class derived from other class is called Subclass (also as
derived class, extended class or child class)
 Class getting derived is known as Superclass (also a base
class or a parent class)
Syntax :
class subclassname extends superclassname
{ variables declaration;
methods declaration;
}
[10]
EXCEPTION HANDLING
 It is a customary way to indicate abnormal
condition.
 A method encountering abnomalities, thows an
exception.
 Exceptions are caught by handlers.
 Handlers these are positioned along method
invocation stack.
[12]
Throwable
Exception Error
Interrupted
Exception Runtime
Exceptions
Thread
Death
Throwable Family
[13]
MULTITHREADING
 It is a specialised form of multitasking
 A thread is similar to a program with single flow
of control.
 A thread can be considered as a subprogram.
 Each thread runs parallel to each other.
 Java Interpreter handles switching of control
between threads such that they seem to run
concurrently.
[14]
APPLETS
 These are small programs used in Internet
Computing.
 Can be transferred over internet from system to
system.
 Can run anywhere using Applet Viewer or any
Java enabled browser.
 Applets are not full featured or stand alone
programs.
 They run inside web page using HTML tags.
 Used for graphics, sounds play, arithematic
operations, accept user input, animations,
interactive games etc
[16]
WHAT CAN JAVA TECHNOLOGY DO?
 Development Tools
 Application Programming Interface (APIs)
 Deployment Technologies
 User Interface Toolkits
 Integration Libraries
[18]
ADVANTAGES:
DISADVANTAGES
 Slow Performance (10 to 20 times slower than c++)
 Compiling takes time
 Too much error checking
 Interpreter takes time too
• Memory management is expensive.
• Java being a high level language, does not offers
freedom to use on embedded systems.
REFERENCES:
 Mrs.Faiyaz Alam, Appin, Alwar
 Core Java Study Materials, Appin
 Programming With Java book by
E.Balaguruswami
 Java Programming book by Vikash Thada
[21]
[22]
THANK
YOU ALL
[23]

More Related Content

What's hot

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
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programmingElizabeth Thomas
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaShravan Sanidhya
 
Important features of java
Important features of javaImportant features of java
Important features of javaAL- AMIN
 
Introduction to Java Programming
Introduction to Java Programming Introduction to Java Programming
Introduction to Java Programming Saravanakumar R
 
Java and its features
Java and its featuresJava and its features
Java and its featuresPydi Nikhil
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to JavaSoumya Suman
 
Summer training presentation on "CORE JAVA".
Summer training presentation on "CORE JAVA".Summer training presentation on "CORE JAVA".
Summer training presentation on "CORE JAVA".SudhanshuVijay3
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Languagejaimefrozr
 
Core Java Slides
Core Java SlidesCore Java Slides
Core Java SlidesVinit Vyas
 
1 introduction to java technology
1 introduction to java technology1 introduction to java technology
1 introduction to java technologyrendezvous07
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)Sujit Majety
 

What's hot (20)

core java
core javacore java
core java
 
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...
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
What is java
What is javaWhat is java
What is java
 
Introduction to Java Programming
Introduction to Java Programming Introduction to Java Programming
Introduction to Java Programming
 
Java and its features
Java and its featuresJava and its features
Java and its features
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Summer training presentation on "CORE JAVA".
Summer training presentation on "CORE JAVA".Summer training presentation on "CORE JAVA".
Summer training presentation on "CORE JAVA".
 
Core java
Core javaCore java
Core java
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
Core Java Slides
Core Java SlidesCore Java Slides
Core Java Slides
 
Features of java
Features of javaFeatures of java
Features of java
 
Programming in Java
Programming in JavaProgramming in Java
Programming in Java
 
Java PPT
Java PPTJava PPT
Java PPT
 
JAVA Career
JAVA CareerJAVA Career
JAVA Career
 
1 introduction to java technology
1 introduction to java technology1 introduction to java technology
1 introduction to java technology
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 

Viewers also liked

Fluid solid coupled simulation and experimental validation of f fluid flow in...
Fluid solid coupled simulation and experimental validation of f fluid flow in...Fluid solid coupled simulation and experimental validation of f fluid flow in...
Fluid solid coupled simulation and experimental validation of f fluid flow in...eSAT Publishing House
 
20151006 collegagroep jeugd
20151006 collegagroep jeugd20151006 collegagroep jeugd
20151006 collegagroep jeugdBart Beuten
 
Sumit Banik_presentation
Sumit Banik_presentationSumit Banik_presentation
Sumit Banik_presentationSumit Banik
 
June 1 'prescription for life'
June 1 'prescription for life'June 1 'prescription for life'
June 1 'prescription for life'Gary Thompson
 
Company Profile EITS! 2015
Company Profile EITS! 2015Company Profile EITS! 2015
Company Profile EITS! 2015egha gets
 
Vondom salone del mobile milano 2014
Vondom salone del mobile milano 2014Vondom salone del mobile milano 2014
Vondom salone del mobile milano 2014Arredo Spluga
 
Choosing the Components of your PC
Choosing the Components of your PCChoosing the Components of your PC
Choosing the Components of your PCHazel Anne Quirao
 
Using the Mini Classroom Podium
Using the Mini Classroom PodiumUsing the Mini Classroom Podium
Using the Mini Classroom PodiumMark Chropufka
 
Ppt bio sel (fira)
Ppt bio sel (fira)Ppt bio sel (fira)
Ppt bio sel (fira)alfirafir
 
Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...eSAT Publishing House
 
Fern paradise Architect Green House : Niwat Architects
Fern paradise Architect Green House : Niwat ArchitectsFern paradise Architect Green House : Niwat Architects
Fern paradise Architect Green House : Niwat ArchitectsNiwat Architect Co.,ltd.
 
Indian domestic sector and the need for promoting community based microgenera...
Indian domestic sector and the need for promoting community based microgenera...Indian domestic sector and the need for promoting community based microgenera...
Indian domestic sector and the need for promoting community based microgenera...eSAT Publishing House
 

Viewers also liked (16)

Fluid solid coupled simulation and experimental validation of f fluid flow in...
Fluid solid coupled simulation and experimental validation of f fluid flow in...Fluid solid coupled simulation and experimental validation of f fluid flow in...
Fluid solid coupled simulation and experimental validation of f fluid flow in...
 
Pn2222 a
Pn2222 aPn2222 a
Pn2222 a
 
20151006 collegagroep jeugd
20151006 collegagroep jeugd20151006 collegagroep jeugd
20151006 collegagroep jeugd
 
Sumit Banik_presentation
Sumit Banik_presentationSumit Banik_presentation
Sumit Banik_presentation
 
Quality criteria for Blended Learning courses implemented via Virtual Worlds
Quality criteria for Blended Learning courses implemented via Virtual WorldsQuality criteria for Blended Learning courses implemented via Virtual Worlds
Quality criteria for Blended Learning courses implemented via Virtual Worlds
 
June 1 'prescription for life'
June 1 'prescription for life'June 1 'prescription for life'
June 1 'prescription for life'
 
Company Profile EITS! 2015
Company Profile EITS! 2015Company Profile EITS! 2015
Company Profile EITS! 2015
 
Vondom salone del mobile milano 2014
Vondom salone del mobile milano 2014Vondom salone del mobile milano 2014
Vondom salone del mobile milano 2014
 
Choosing the Components of your PC
Choosing the Components of your PCChoosing the Components of your PC
Choosing the Components of your PC
 
Guzzi galletto 1921
Guzzi galletto 1921Guzzi galletto 1921
Guzzi galletto 1921
 
Using the Mini Classroom Podium
Using the Mini Classroom PodiumUsing the Mini Classroom Podium
Using the Mini Classroom Podium
 
Ppt bio sel (fira)
Ppt bio sel (fira)Ppt bio sel (fira)
Ppt bio sel (fira)
 
Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...
 
Teriminologogy
TeriminologogyTeriminologogy
Teriminologogy
 
Fern paradise Architect Green House : Niwat Architects
Fern paradise Architect Green House : Niwat ArchitectsFern paradise Architect Green House : Niwat Architects
Fern paradise Architect Green House : Niwat Architects
 
Indian domestic sector and the need for promoting community based microgenera...
Indian domestic sector and the need for promoting community based microgenera...Indian domestic sector and the need for promoting community based microgenera...
Indian domestic sector and the need for promoting community based microgenera...
 

Similar to java concepts

J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01Jay Palit
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkMohit Belwal
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language Hitesh-Java
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java LanguagePawanMM
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docxvikasbagra9887
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxSuganthiDPSGRKCW
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentationjuliasceasor
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAMehak Tawakley
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDFGeekster
 
Intoduction to java
Intoduction to javaIntoduction to java
Intoduction to javajalinder123
 
Dr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to javaDr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to javaDrRajeshreeKhande
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxDrPreethiD1
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to JavaDevaKumari Vijay
 

Similar to java concepts (20)

Core java slides
Core java slidesCore java slides
Core java slides
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
 
Java presentation
Java presentationJava presentation
Java presentation
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
 
java introduction.docx
java introduction.docxjava introduction.docx
java introduction.docx
 
Java session2
Java session2Java session2
Java session2
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Ch2
Ch2Ch2
Ch2
 
JavaClassPresentation
JavaClassPresentationJavaClassPresentation
JavaClassPresentation
 
JRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVAJRE , JDK and platform independent nature of JAVA
JRE , JDK and platform independent nature of JAVA
 
Java Basic.pdf
Java Basic.pdfJava Basic.pdf
Java Basic.pdf
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
Intoduction to java
Intoduction to javaIntoduction to java
Intoduction to java
 
Dr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to javaDr. Rajeshree Khande :Intoduction to java
Dr. Rajeshree Khande :Intoduction to java
 
JAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptxJAVA ALL 5 MODULE NOTES.pptx
JAVA ALL 5 MODULE NOTES.pptx
 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 

Recently uploaded

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 

Recently uploaded (20)

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 

java concepts

  • 1. [1]
  • 2. [2] CONTENTS:  History  Featurs of Java  JDK & JRE, Bytecode & JVM  Classes and objects  Inheritance & Interfaces  Multithreading  Applets  Advantages & Disadvantages
  • 3. HISTORY OF JAVA  Developed by Sun microsystems (U.S.) in 1991.  Was designed for development of software for electronic devices.  A team headed by James Gosling was formed to undertake this task.  OOPs Language C++ was explored resulting in new language ‘Oak’.  This team, The Green Project Team, demonstrated an application to control home appliances using hand held touch screen device in 1992.  In 1993, with www, this team game up with the idea of developing web Applets using this language, to run on all types of connected computers.  In 1994, the team developed ‘Hot Java’ browser.  Oak was renamed to JAVA in 1995, due to legal snags.  By the time of 1996, java established itself as a leader of Internet Programming and a general purpose OOPs language. [3]
  • 4. FEATURES OF JAVA  Simple  Truly Object Oriented  Platform Independent  Distributed  Interpreted  Secure  Robust  Multithreaded [19]
  • 5. JDK AND JRE • Java Runtime Environment (JRE) includes no of development tools , classes and methods. • Java Development Kit (JDK) is collection of tools used for developing and running programs. This includes:  Appletviewer: enables us to run Applets (without browser).  Java: interpreter, reads bytecode files, runs Applets and applications.  Javac: compiler, translates source code to byte code files, that is readable by interpreter.  Jdb: java debugger [4]
  • 6. BYTE CODE & JVM  A program exists in two forms: source code & object code.  The program written in editor is source code.  Executable form of this code is called as object code.  Java compiler generates an object file containing bytecode.  This bytecode is executable on any specific CPU.  Java Virtual Machine (jvm) is a virtual machine, that can execute this bytecode using interpreter. [5]
  • 8. Java Runtime Environment (JRE) Java API Class JVM Operating System (Windows, Linux etc) Hardware [7]
  • 9. CLASSES & OBJECTS  An object is a bundle of related state and behavior.  Software objects are used to model real world objects.  A collection of objects is known as Class.  Classes can be considered as a blueprint from which objects are derived. e.g. the statement fruit mango creates an object mango of class fruit [8]
  • 10. A SIMPLE HELLO WORLD PROGRAM class HelloWorldApp { public static void main (String args[]) { System.out.println(“Hello World”); } } [9]
  • 11. INHERITANCE  Enables user to derive new classes from existing ones.  Class derived from other class is called Subclass (also as derived class, extended class or child class)  Class getting derived is known as Superclass (also a base class or a parent class) Syntax : class subclassname extends superclassname { variables declaration; methods declaration; } [10]
  • 12. EXCEPTION HANDLING  It is a customary way to indicate abnormal condition.  A method encountering abnomalities, thows an exception.  Exceptions are caught by handlers.  Handlers these are positioned along method invocation stack. [12]
  • 14. MULTITHREADING  It is a specialised form of multitasking  A thread is similar to a program with single flow of control.  A thread can be considered as a subprogram.  Each thread runs parallel to each other.  Java Interpreter handles switching of control between threads such that they seem to run concurrently. [14]
  • 15. APPLETS  These are small programs used in Internet Computing.  Can be transferred over internet from system to system.  Can run anywhere using Applet Viewer or any Java enabled browser.  Applets are not full featured or stand alone programs.  They run inside web page using HTML tags.  Used for graphics, sounds play, arithematic operations, accept user input, animations, interactive games etc [16]
  • 16. WHAT CAN JAVA TECHNOLOGY DO?  Development Tools  Application Programming Interface (APIs)  Deployment Technologies  User Interface Toolkits  Integration Libraries [18]
  • 18. DISADVANTAGES  Slow Performance (10 to 20 times slower than c++)  Compiling takes time  Too much error checking  Interpreter takes time too • Memory management is expensive. • Java being a high level language, does not offers freedom to use on embedded systems.
  • 19. REFERENCES:  Mrs.Faiyaz Alam, Appin, Alwar  Core Java Study Materials, Appin  Programming With Java book by E.Balaguruswami  Java Programming book by Vikash Thada [21]
  • 20. [22]

Editor's Notes

  1. Sun Micro was accquired by Oracale(One of the leading software vender companya) at Jan 2010. So right now know devlpoment of java under Oracle.