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
What are the benefits of interface?
What is for loop and its syntax?
What are the data types in oop?
What is an interface in oop?
Whats oop mean?
Why is oop useful?
What are functions in oop?
What is the real time example of encapsulation?
What is abstraction oop?
What is oops in simple words?
How do you achieve runtime polymorphism?
What are constructors in oop?
Which language is not a true object oriented programming language?
What exactly is polymorphism?
What is cohesion in oop?