Java, Spring, Microservices, Interview, Coding.
method in abstract class. Even a class which doesn’t contain any abstract method can be made abstract by using the abstract keyword. 3) interface is better suited for Type declaration and abstract class is more suited for code reuse and evolution perspective. 4)abstract class are slightly faster