CONTENT
• What is Java ?
• Where is Java used ?
• Features of Java
• Java Program Translation
• Java Virtual Machine
• Java system overview
• Java Program-Developmentphase
• Advantage of java
• Disadvantage of java
• Project
WHAT IS JAVA?
Java is Object Oriented Programming language as
well asPlateform.
Java wasdeveloped by a team led by James Gosling
at Sun Microsystems.
Java is a first programming language which provide
the concept of writing programs that can be
executed using the web.
WHEREIS JAVAUSED?
According to the Sun , 3 billion devices run java.
There are many devices where Java is currently used.
Desktop Applications - Acrobat reader, Media player,
Antiviruses etc.
Web Applications - irctc.co.in , javatpoint.com etc.
Enterprise Application – Banking Application, Business
Application.
Mobile.
Embedded System.
Games.
Robotics.
FEATURESOFJAVA
• Java isSimple.
• Java is Object Oriented
• Java is Distributed
• Java is Architecture Neutral
• Java isRobust
• Java is Interpreted and Compiled
• Java isSecure
• Java isPortable
• Java isMulti-Threaded
JAVA PROGRAM TRANSLATION
Interpreter for WinXP
Hello.java javac Interpreter for Mac
Hello.class
Source Program JavaCompiler JavaBytecode
Interpreter for Unix
JAVA VIRTUAL MACHINE
Java virtual machine is the like usual computer
which translate high level language into machine
language.
Just like that Java virtual machine also translate
Bytecode into machine language.
JVM are available for many hardware and software
Plateform.
WHAT IS OOP?
Object-oriented programming is a method of
implementation.
A language in which everything represent in the
form of Object is called Object Oriented
Programming Language.
It not only makes the program less complex but
also makes the software reuse feasible and possible.
Java is not truly Object Oriented Programing
Language
CONCEPTS OF OOP
• Object
• Class
• Encapsulation
• Inheritance
• Polymorphism
• Abstraction
JAVASYSTEMOVERVIEW
Java Application
Java Programming Language
Java Class Library
Java Native
Interface
Java Virtual Machine
Class Verifier Execution
Loader
Operating System
JAVAPROGRAM-DEVELOPMENT PHASES
DATATYPESIN JAVA
GARBAGECOLLECTION
Garbage collection is the mechanism that De allocate
the memory of an object when it is no longer referenced
by a variable.
In C++, the memory of an Object is released by useof
delete operator.
Java virtual machine determines when to free upthe
memory of an object.
ADVANTAGESOFJAVA
Java is simple language.
Java does not support POINTERS.
Java is first language in which programs can be
executed using web.
Write Once Run Anywhere (WORA).
DISADVANTAGESOFJAVA
Slow Performance.
No support for Low level programming.
Poor features in Java.
No control over Garbage Collection.
Any Query
?