Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.

Answer Posted / mahesh_b.tech@2008

ABSTRUCTION:

Process of providing the neccesary properties & operations
of an object is called as abstuction

Example take car the car user only know things reqired.
he don't no the internal functionality of the car b'coz it
is not required for the user .

properties like car:colour,number,model etc.
operations like car:move front,backetc.

ENCAPSULATION:

Process of providing all the properties&operayion of entity
in one place is called as encapsulation.

In java operations are called as methods,properties are
called as variables.

The place where you were write the variables &properties is
called as class.

Is This Answer Correct ?    31 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism used for?

1073


What is a class in oop?

1138


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

2002


What is an advantage of polymorphism?

1097


What are the benefits of polymorphism?

1280


When not to use object oriented programming?

1116


Plese get me a perfect C++ program for railway/airway reservation with all details.

3909


What does sksksk mean in text slang?

2126


What is difference between data abstraction and encapsulation?

1090


What is encapsulation and abstraction? How are they implemented in C++?

1140


Why do we use oop?

1110


What are the two different types of polymorphism?

1149


Why do we use oops?

1027


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

2141


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863