|
Some key features of the Object Oriented programming are:
Emphasis on data rather than procedure, Programs are divided into entities
known as objects, Data Structures are designed such that they characterize
objects...............
Read
answer
Object, Class, Data Abstraction and Encapsulation,
Polymorphism..................
Read
answer
An object is an entity that keeps together state and
behaviors. For instance, a car encapsulates state such as red color, 900 cc etc
and behaviors as 'Start', 'Stop' etc., so does an object.................
Read answer
Encapsulation means keeping actions and attributes together
under a single unit. This can also be understood using a motor bike
example.............
Read answer
Explain Inheritance
and Polymorphism in OOP.
Polymorphism means the ability to take more than one form. An
operation may exhibit different behaviors in different instances..............
Read answer
What
are the advantages of OOP?
It presents a simple, clear and easy to maintain structure.
It enhances program modularity since each object exists
independently...................
Read answer
Oops - Jan 12, 2009 at 21:14 PM by Vidya Sagar
What is composition? Explain the purpose of composition.
Assembling existing components instead of creating new ones
is called composition. In OOP it is called as objects composition. It is the
process of placing object in another object. It is the model of has-a
relationship. An employee object can contain an object of type project which is
another object.
Purpose of composition:
A model by value aggregation can be derived by using composition which is
semantically equivalent to an attribute.
The lifetime is coincident part as a whole for both objects
If one part is removed, the whole part also removed with out
explicit removal of individual parts
Composition can be used to model by-value aggregation which
is semantically equivalent to an attribute.
What is an abstraction and why is it important?
Representing essential features by hiding the background
process / details. In other words, it is specifying what to do but not how to
do.
Abstraction is important at the conceptual level of an
application. It helps in understanding clearly, what the process and the flow
of an application. The abstraction allows the complete flow and development of
an application into a structured action. The conceptual level of project
execution is derived from abstraction which the gateway for the entire
application development.
Related Link
Learn JavaScript's OOP features
Explain the concepts and capabilities of Aspect-Oriented Programming, AOP.
What is Aspect in AOP?
AOP approach addresses Crosscutting concerns. Explain
The components of AOP are advices/interceptors, introductions, metadata, and
pointcuts. Explain them
AOP vs OOPs...........
Business
Process Execution Language (BPEL)
What is Business Process Execution Language (BPEL)?
BPEL vs. workflow foundation
Role of BPEL
Explain about BPEL Orchestration and Choreography................
AOP concurrency
Concurrency is the system's ability to act with several requests simultaneously,
such a way that threads don't corrupt the state of objects when they gain
access at the same time.........
Transparent caching with AOP
To get better results in terms of speed and resources used, it's suggested to
use a cache. We can store in it the results corresponding to the methods'
invocations as key-value pairs: method and arguments as key and return object
as value................
Security with AOP
Once a user is authenticated and has roles, he or she can work on the
application and perform the actions permitted by an access control list, which
according to the user's roles allows certain operations................
|