What is the difference between and interface and an
abstract class ?
Answer Posted / murali
1.interface contains only abstract methods and varibles
2.whenever a class is not implementing that interface that
class should be an abstract class
3.An interface cannot implement another interface but an
abstract class can implement onther interface
4.An interface can extend more than one interface
5.An abstract can implment more than one interface
Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
What is the difference between a constructor and a destructor?
What is destructor in oop?
Why do we use encapsulation in oops?
What is interface? When and where is it used?
What is a class and object?
Can we define a class within the interface?
What are the three main types of variables?
How do you define social class?
What is the benefit of oop?
What does no cap mean?
How do you achieve runtime polymorphism?
Advantage and disadvantage of routing in telecom sector
What are the benefits of interface?
What is abstract class in oops?