Describe what an Interface is and how it?s different from a
Class.
Answer Posted / nishikant sahu
Class can hold both member function and data, depending upon
the member function class becomes abstract class and etc.
but if a class contain only pure virtual function then it
becomes "Interface",remember all functions should be pure
having no data member.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do you explain polymorphism?
What is the significance of classes in oop?
What is the point of oop?
Why do while loop is used?
Why we use classes in oop?
How do you achieve polymorphism?
What is a class and object?
What is abstract class in oop?
What is encapsulation with example?
What is basic concept of oop?
What is the point of polymorphism?
What does and I oop mean?
What are the types of abstraction?
What is abstraction in oop with example?
What is abstraction encapsulation?