Question: what is the difference between abstract class and interface in java with example?
Answer: Type of variables: Abstract class can have final, non-final, static and non-static variables. Interface has only static and final variables. ... Multiple implementation: An interface can extend another Java interface only, an abstract class can extend another Java class and implement multiple Java interfaces.