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 is coupling in oops?
how to get the oracle certification? send me the answer
What is object in oops?
What does I oop mean?
Why is oop better than procedural?
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?
How do you achieve runtime polymorphism?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is byval and byref? What are differences between them?
What is the difference between inheritance and polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
what is difference between class template and template class?
What is persistence in oop?
What is polymorphism oop?
What is the oops and benefits of oops programming?