Author Archives: admin

diffrence between abstract class and interface in java?

Methods of a Java interface are implicitly abstract and cannot have implementations where as a Java abstract class can have instance methods that implements a default behavior. Variables declared in a Java interface is by default final. An  abstract class may contain non-final variables. Members of a Java interface are public by default. A Java… Read more »