2. CONTENTS
1. What is Java?
2. History of Java
3. Features of Java
• Object Oriented
• Platform Independent
• Multithreading
• Simple
• Secure
• Architectural Neutral
• Portable
• Robust
4. Why Java
5. Application
3. • Java is a simple, robust, secure, portable and object-
oriented popular programming language.
What is Java?
• Java is widely used in software as well as hardware
controlling software components.
• There are more than 3 billion devices that run Java.
• Java runs on various platforms, such as Windows,
Mac OS, and the various versions of UNIX.
5. • It was created by a team of members called
"Green" initiated by James Gosling, Mike
Sheridan, and Patrick Naughton.
• When Java was created in 1991, first it was
called Greentalk and then Oak, and then Java’s
name was chosen by James Gosling while
having a cup of coffee nearby his office.
• It is open-source software under GNU General
Public License.
• Its first version was introduced in 1995.
• Sun Microsystems revealed its first public
implementation in 1996 as Java 1.0.
7. Encapsulation
Abstraction
Encapsulation is a property that is defined
as wrapping up data in a single unit. It can
be achieved in java by making all data
member private and then providing public
setter and getter methods to modify and
view the values of the variables.
Abstraction is a property in which only
essential details are displayed to the
users and unwanted details are hidden
from the users. We can achieve this by
interfaces and abstract classes.
Object Oriented
The four main concepts of Object-Oriented
programming are as under:
8. Inheritance
Inheritance is a property in
which a child class inherits
behaviors and properties of its
parent class. It is used to
achieve run time polymorphism
i.e. method overriding.
Polymorphism
Polymorphism is a property
that allows performing single
action in different ways. It
supports a single variable
name for multiple data types
and also reduces coupling
between different
functionality.
9. Platform Independent
• The compiler transforms source code to bytecode and then the JVM
runs the bytecode generated by the compiler. This bytecode can run
on any Operating System which means if we compile a program on
Windows, then we can run it on Linux and vice versa.
• Each OS has a different JVM, but the output by all the OS is the
same after the execution of bytecode.
10. Multithreading
• The main purpose of multithreading is to provide concurrent
execution of two or more parts of a program to maximum utilize
the CPU time.
• It utilizes the same memory and other resources to execute
multiple threads at the same time along with typing, checking
grammatical errors.
11. Simple
• It has simple, and clean syntax which is easy
to understand.
• It does not have complex features like
pointers, operator overloading, multiple
inheritances, Explicit memory allocation.
Hence it is one of the simple programming
languages.
12. • In java, there are no pointers, so we cannot access out-
of-bound arrays i.e. it shows ArrayIndexOutOfBound
Exception if we try to do so.
• Java programs run inside a virtual machine which is
known as a sandbox.
Secure
13. Architectural Neutral
• There is no implementation-dependent feature in java.
• Compiler generates bytecodes, which have nothing to do
with specific computer architecture, therefore a Java
Program is easy to interpret on any machine.
14. • You can run Java bytecode on any hardware that has a Java
interpreter.
• It doesn’t require any implementation.
Portable
19. • Mobile applications (specially Android apps)
• Desktop applications
• Games
• Web servers and application servers
• Web applications
• Desktop applications
20. THANKS!
If you are interested in doing Java
Training then you can contact us on
+91-9212172602
query@cetpainfotech.com
http://traininginnoida.in/