Describe what an Interface is and how it?s different from a
Class.
Answer Posted / nick martin
"interface is collection of abstract method."
Ummm No... Perhaps you are thinking of an abstract class and
methods within.
An interface defines a class. A class that implements an
interface must implement all of the methods and properties
within the interface. Interfaces are commonly thought of as
a "Contract" as they guarantee that implementing class will
contain those methods and properties.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What language is oop?
Why is oop useful?
What is the full form of oops?
Is this job good for future? can do this job post grduate student?
How to use CMutex, CSemaphore in VC++ MFC
What is difference between data abstraction and encapsulation?
Plese get me a perfect C++ program for railway/airway reservation with all details.
what are the ways in which a constructors can be called?
How do you answer polymorphism?
What exactly is polymorphism?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is class encapsulation?
What are oops functions?
Whats is abstraction in oops?
Is enum a class?