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

Explain the concept of abstracion and encapsulation with
one example. What is the difference between them?

Answer Posted / purba phalguni mishra, gandhi

ENCAPSULATION->
* It is a mechanism which unites the code and the data it
manipulates.

*It keeps them safe from external interference and misuse,
thus enforcing the separation between specification and
implementation of ADTs. Hence it enables the debugging of
program easily.

DATA ABSTRACTION->
* It is the creation of new data types [ADTs] using
encapsualted-items that are well suited to an application
to be programmed.

* It is a powerful technique resulting in optimal, more
readable and flexibles programs.


*******U r most welcome to challenge with my answer*****

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is new keyword in oops?

992


to find out the minimum of two integer number of two different classes using friend function

2074


What is purpose of inheritance?

1048


What is oops in simple words?

1032


How do you define a class in oop?

1057


What is oops and why we use oops?

988


write knight tour problem which is present in datastructure

2596


Why is object oriented programming so hard?

1022


What is abstraction with example?

1039


Why do pointers exist?

1044


What are the types of abstraction?

992


What is difference between abstraction and encapsulation?

1017


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6877


What is overloading in oops?

1091


Why is there no multiple inheritance?

952