Question: what is difference between interface and abstract class in java?
Answer: Main difference is methods of a Java interface are implicitly abstract and cannot have implementations. A Java abstract class can have instance methods that implements a default behavior. ... A Java class can implement multiple interfaces but it can extend only one abstract class.