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

What is use of overloading?

1188


what's the basic's in dot net

2234


What is meant by multiple inheritance?

1336


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

2204


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1312


Give two or more real cenario of virtual function and vertual object

2366


What is polymorphism in oops with example?

1107


what is the drawback of classical methods in oops?

3430


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6732


What are the 4 main oop principles?

1268


What are the data types in oop?

1163


Why is polymorphism important in oop?

1142


Why is oop useful?

1170


Which language is not a true object oriented programming language?

1183


How do you achieve runtime polymorphism?

1097