Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career services Resume services Interview Q&A Articles Oracle SQL Server NET Java Soft Skills CV GD Work from home Books store
Interview questions
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
Microsoft solution framework 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Share your knowledge 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 

Object oriented programming

What is OOP?

The object oriented programming is commonly known as OOP. Most of the languages are developed using OOP concept. Object-oriented programming (OOP) is a programming concept that uses "objects" to develop a system................... 
Read answer

What are the various elements of OOP?

Various elements of OOP are: Object, Class , Method
Class – A class is a collection of data and operations on data. Data and operations / functions / methods are placed together in a single unit, i.e., class. This feature is known as encapsulation................
Read answer

What are the characteristics of Object Oriented programming language?

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

What are the basic Concepts used in the Object-Oriented Programming language?

Object, Class, Data Abstraction and Encapsulation, Polymorphism.................. 
Read answer

Explain an object, class and Method.

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

Define Encapsulation and Information Hiding in OOP.

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

Aspect-Oriented Programming

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................

More content
Java FAQ | Personal Interview
Earn promotion|Happy employee
Write a good CV | Cover Letter
Become boss's favorite | CV tips
Training and Development
Public relations
PM | CareerRide is hiring

Frequently Asked Questions
CV Writing
Testing
XML
.NET
AJAX
ASP.NET
VB.NET
C#.NET
NET Framework
OOPS in .NET
C++
Data warehousing
Sql Server
Core Java
JDBC
JMS
JSP
RMI
J2ME
EJB
MySQL
Linux
PHP
UML
ADO.NET
Net Architecture
Personal interview
Marketing
Mass communication
Java FAQs
Oracle FAQs
C#.NET FAQs
VB.NET FAQs
DOT.NET
Networking FAQs
MySQL FAQs
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.