WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / ganesh
ABSTRACTION
An abstract class is a parent class that allows inheritance
but can never be instantiated. Abstract classes contain one
or more abstract methods that do not have implementation.
Abstract classes allow specialization of inherited classes.
ENCAPSULATION:
Wrapping up of data into a single unit..
| Is This Answer Correct ? | 7 Yes | 17 No |
Post New Answer View All Answers
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Can static class have constructor?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is a class and object?
Why multiple inheritance is not possible?
What is the point of polymorphism?
Which type does string inherit from?
How does polymorphism work?
Why is polymorphism used?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is the use of oops?
what is the drawback of classical methods in oops?
What is object-oriented programming? Webopedia definition
Can private class be inherited?
What are constructors in oop?