Abstract class and interfaces

Where should we use exactly abstract class and interfaces?

Questions by gvndrao

Showing Answers 1 - 2 of 2 Answers


  • May 11th, 2012

All the methods declared inside an interface are abstract whereas abstract class must have at least one abstract method and others may be concrete or abstract.
b) In abstract class, key word abstract must be used for the methods whereas interface we need not use that keyword for the methods.
c) Abstract class must have subclasses whereas interface can’t have subclasses.

  Was this answer useful?  Yes


  • Jul 13th, 2012

Interface is more generic in comparison to the Abstract class, hence when we want our implementing class to implement all the methods we should use Interface.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions