1.

Differentiate An Interface And An Abstract Class?

Answer»
  • An abstract CLASS may have many instance methods which sport default behavior. 
  • On the other hand, an INTERFACE cannot implement any default behaviour. 
  • However, it can declare DIFFERENT constants and instance methods. 
  • Whereas an interface has all the public MEMBERS, an abstract class contains only class members like private, protected and so on.



Discussion

No Comment Found