You are on page 1of 26

ARYA INSTITUTE OF ENGG.

TECHNOLOGY & MANAGEMENT


A
SEMINAR REPORT
On
CORE JAVA
Submitted
In partial fulfillment
For the award of the Degree of
Bachelor of Technology
In
Computer Science Engineering

SUBMITTED TO – SUBMITTED BY -
MR. Sanjay Tiwari Nivedita Mishra
MR. Arpit Kumar Sharma B.TECH VII SEM CS
Training
Content
• Origin of Java
• Features of Java
• OOPs concept
• JDK
• JVM
• JRE
Origin Of Java
• In 1991, Java was developed by a team led by James Gosling and Patrick
Naughton at Sun Microsystems.

• It is owned by Oracle, and more than 3 billion devices run Java.

• It is also known as Oak programming language. The language later evolved to


become Java.

• The name Oak was used by Gosling after an oak tree that stood outside his
office
Features of Java
Object Oriented
• Java is a true object oriented language

• All programs code and data reside within


objects and classes
Robust and Secure
• Java is a robust language

• It provides many safeguards to ensure


reliable code

• It has strict compile time and runtime for


data
Simple, Small and Familiar
• Java is small and simple language. Many
features of C and C++ are not part of Java
• ex : Java does not provide
Pointers
Multiple inheritance
Platform Independent and
Portable
• The most significant feature of Java is its
portability

• Java programs can be easily moved from one


computer system to another ,anywhere and at
anytime
More on How Java Works
• To run a Java program the bytecode in a .class
file is fed to an interpreter which converts the
byte code to machine code for a specific chip.
• Some people refer to the interpreter as "The
Java Virtual Machine" (JVM).
• The interpreter is platform specific because it
takes the platform independent bytecode
and produces machine language instructions
for a particular chip
OOPS Concept
Object
It is a basic unit of Object Oriented Programming and
represents the real life entities. A typical Java program
creates many objects, which as you know, interact by invoking.
An object consists of :
State :It is represented by attributes of an object. It also
reflects the properties of an object.
Behavior :It is represented by methods of an object. It also
reflects the response of an object with other objects.
Identity : It gives a unique name to an object and enables
one object to interact with other objects.

Example of an object : dog


Class
A class is a user defined blueprint or prototype from which
objects are created. It represents the set of properties or
methods that are common to all objects of one type.
Encapsulation

Encapsulation is the technique


of making the fields in a class
private and providing access to
the fields via public methods.
Polymorphism

It is the ability of an object to take on many forms


Abstraction
Data Abstraction may also be defined as the
process of identifying only the required
characteristics of an object ignoring the
irrelevant details. The properties and behaviors
of an object differentiate it from other objects of
similar type and also help in
classifying/grouping the objects.
Inheritance
Inheritance in Java is a
mechanism in which one
object acquires all the
properties and behaviors of a
parent object. It is an
important part of OOPs
(Object Oriented Program).
Single Inheritance
• A structure having one and only one parent
as well as child class.

• Child class is authorized to access the


property of Parent class.
Multilevel Inheritance

Standard structure of Single Inheritance


having one Parent, one or more
intermediate and one child classes.
Hierarchical Inheritance
• A structure having one parent and more child class.

• Child classes must be connected with only Parent


class.
Multiple inheritance by interface
If a class implements multiple interfaces, or an
interface extends multiple interfaces, it is
known as multiple inheritance.
Java Virtual Machine
• A specification where working of Java Virtual Machine is
specified. But implementation provider is independent to
choose the algorithm. Its implementation has been provided
by Sun and other companies.

• Runtime Instance Whenever you write java command


on the command prompt to run the java class, an
instance of JVM is created.
Java Development Kit
Java Development Kit (in short JDK) is Kit which provides
the environment to develop and execute(run) the Java
program. JDK is a kit(or package) which includes two
things

1.Development Tools(to provide an environment to


develop your java programs)
2.JRE (to execute your java program).
JRE – Java Runtime Environment (to say JRE) is an installation
package which provides environment to only run(not
develop) the java program(or application)onto your machine. JRE
is only used by them who only wants to run the Java Programs
i.e. end users of your system.

JVM – Java Virtual machine(JVM) is a very important part of


both JDK and JRE because it is contained or inbuilt in both.
Whatever Java program you run using JRE or JDK goes into JVM
and JVM is responsible for executing the java program line by
line hence it is also known as interpreter.
.

You might also like