What is the difference between a abstract class and interface in java? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the difference between a abstract class and interface in java?

Some examples could be helpful,and why we have constructor in abstract class and not in interface in java as it also contain abstract method? Pls elaborate 👫👬👭.

20th Aug 2019, 8:37 AM
Piyush Srivastava
Piyush Srivastava - avatar
2 Answers
+ 3
Thanks thomas
20th Aug 2019, 8:50 AM
Piyush Srivastava
Piyush Srivastava - avatar