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 / narender_niit

abstraction:
abstraction means providing the relevant information only
and hiding other information..

encapsulation:

encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we make game by using c

4036


What is static modifier?

1127


• What are the desirable attributes for memory managment?

2167


What is the difference between a mixin and inheritance?

935


Why multiple inheritance is not allowed?

1077


What is data binding in oops?

1024


What is oops and its features?

1025


What is the oops and benefits of oops programming?

926


How to improve object oriented design skills?

948


What is abstraction in oop?

1085


What is the real life example of polymorphism?

1112


What is the important feature of inheritance?

1070


What are the components of marker interface?

996


What is polymorphism give a real life example?

973


How is class defined?

1071