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
What is use of overloading?
what's the basic's in dot net
What is meant by multiple inheritance?
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
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.
Give two or more real cenario of virtual function and vertual object
What is polymorphism in oops with example?
what is the drawback of classical methods in oops?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What are the 4 main oop principles?
What are the data types in oop?
Why is polymorphism important in oop?
Why is oop useful?
Which language is not a true object oriented programming language?
How do you achieve runtime polymorphism?