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
What are the benefits of interface?
What is encapsulation with real life example?
What is polymorphism and why is it important?
any one please tell me the purpose of operator overloading
What is object in oops?
Is abstract thinking intelligence?
Why is oop better than procedural?
write knight tour problem which is present in datastructure
How is class defined?
Advantage and disadvantage of routing in telecom sector
Why is abstraction used?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is the importance of oop?
What is polymorphism in oop example?
What are the three parts of a simple empty class?