OBJECT ORIENTED PROGRAMMING
1)What is Object Oriented Programming?
Ans:-
a) Object Oriented Programming decomposes a program into real world entities called as objects and then creates data and function around these objects.
b) Object Oriented Programming is based on 4 major pillars which are as follows:
i. Abstraction:
This deals with identifying the key aspects of a system. This is normally required during requirement analysis phase.
1)What is Object Oriented Programming?
Ans:-
a) Object Oriented Programming decomposes a program into real world entities called as objects and then creates data and function around these objects.
b) Object Oriented Programming is based on 4 major pillars which are as follows:
i. Abstraction:
This deals with identifying the key aspects of a system. This is normally required during requirement analysis phase.
ii.Encapsulation:-
The key aspects identified during abstraction are secured using
encapsulation. This deals with hiding the interface from implementation. Hence
its purpose is security.
The key aspects identified during abstraction are secured using
encapsulation. This deals with hiding the interface from implementation. Hence
its purpose is security.
iii.Inheritance:-
This deals with incorporating the essential features from a base class
in a derived class. Thus it helps in reusability of methods and its main purpose is
for grouping.
This deals with incorporating the essential features from a base class
in a derived class. Thus it helps in reusability of methods and its main purpose is
for grouping.
iv.Polymorphism:-
This helps when a same message is sent by different objects to obtain
different behaviour from a method.
This helps when a same message is sent by different objects to obtain
different behaviour from a method.
c)Object Oriented Programming also has 3 minor pillars which are as follows:
i.Strong type casting:-
This helps in avoiding mixing of abstraction i.e. key aspects identified
during requirement analysis.
This helps in avoiding mixing of abstraction i.e. key aspects identified
during requirement analysis.
ii.Persistence:-
This helps in a safe state of an object.
This helps in a safe state of an object.
iii.Concurrency:-
This deals with simultaneously performing various tasks for better
performance.
2)What is JAVA History?
Ans:-
JAVA was invented by James Gosling. The history of JAVA can be tabulated as
This deals with simultaneously performing various tasks for better
performance.
2)What is JAVA History?
Ans:-
JAVA was invented by James Gosling. The history of JAVA can be tabulated as
below,
YEAR
|
DEVELOPMENT
|
1990
|
Sun Microsystems decided to develop software for consumer electronic devices (Green Project).
|
1991
|
New language Oak was announced.
|
1992
|
Green Project team demonstrated the application of their new language to control a list of home appliances using hand-held devices with a tiny touch sensitive screen.
|
1993
|
The World Wide Web(WWW) appeared on the Internet. Web applets were developed using this language that could run on all type of computers connected to Internet.
|
1994
|
Web browser called "Hot Java" was developed to run applets on Internet.
|
1995
|
Oak renamed to Java. Popular companies like Microsoft and Netscape announces their support to Java.
|
1996
|
Java became Internet programming language as well general purpose object-oriented programming language.
|
No comments:
Post a Comment