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
Why is polymorphism important in oop?
What is destructor oops?
What is encapsulation example?
What is static in oop?
What are the two different types of polymorphism?
What is pure oop?
What is destructor example?
What is encapsulation in ict?
Are polymorphisms mutations?
Why do we use polymorphism?
What is polymorphism programming?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What is the difference between inheritance and polymorphism?
Can we override main method?