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

In C++ terms, abstraction is achieved by access modifiers:
private and protected. Encapsulation is achieved by classes

Vikas
http://www.cppquestions.com/

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can enum be null?

1014


What is new keyword in oops?

1040


Why is object oriented programming so hard?

1079


What is oops?what is its use in software engineering?

1030


What is inheritance in simple words?

1056


What is interface in oop?

1123


Is enum a class?

1058


What is polymorphism and example?

1044


Why oops is important?

1113


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2193


What is the main purpose of inheritance law?

1197


is there any choice in opting subjects like 4 out of 7

2169


What is an advantage of polymorphism?

1094


What is class and object with example?

1130


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2281