• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - What's the difference between an interface and an abstract class?

Answer - An abstract class may contain code in method bodies, which is not allowed in an interface. With abstract classes, you have to inherit your class from it and Java does not allow multiple inheritance. On the other hand, you can implement multiple interfaces in your class.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners