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 makes a language oop?
What is the real time example of inheritance?
What are main features of oop?
What is abstraction in oop?
What is the use of oops?
What is inheritance in simple words?
What is the types of inheritance?
Can we create object of interface?
What is coupling in oop?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is the diamond problem in inheritance?
What is encapsulation process?
Can abstract class have normal methods?
What is object and example?
Can enum be null?