3. JAVA
Java is an object Oriented computer programming
language which is used to develop desktop and web
based applications. It is developed James Gosling in
1991.Oracle Corporation has acquired Sun Microsystem in
2010 . Over the period of time many versions of Java have
been released with new enhancements and features.
5. OOPS(Object-Oriented Programming System)
Object means a real-world entity such as a pen, chair
, table , computer , watch , etc . Object Oriented is a
methodology to design a program using classes and
objects . It simplifies software development and
maintenance by providing some concepts like Object
, Class , Inheritance , Polymorphism , Abstraction ,
Encapsulation.
6.
7. Object
Any entity that has state and
behavior is known as an object.
Like a chair , pen , table ,
keyboard , bike , etc. It can be
physical or logical . An Object
can be defined as an instance of
a class. An Object contains an
address and takes up some
space in memory
8. Class
Collection of objects is called
class. It is logical entity . A class
can also be defined as a
blueprint from which we can
create an individual object.
Class doesn’t consume any
space.
10. Inheritance
When one object acquires all
the properties and behaviors of
a parent object , it is known as
inheritance . It provides code
reusability . It represents the
relationship between Parent
and child
Types of Inheritance in Java
Single level
Multi level
Hierarchical
11. Polymorphism
When one task is performed
in different ways , it is
known as polymorphism
.We can perform a
polymorphism in java by:-
method overloading and
method overriding
Shape
Circle
Triangle
Rectangle
12. Abstraction
Abstraction means hiding internal
details and showing functionality . In
Java, abstraction means simple things
like objects, classes,
and variables represent more complex
underlying code and data .
13. Encapsulation
Binding (or wrapping) code
and data together into a single
unit are known as
encapsulation . A java class is
the example of encapsulation .
Java bean is the fully
encapsulated class because all
the data members are private
here.
Methods Variables
Class
14. Advantages of OOPs
OOPs makes development and maintenance easier
OOPs provides data hiding .
OOPs provides the ability to simulate real world
event much more effectively .
Reuse also enables faster development.
It is easy to make minor changes in the data
representation or the procedures