default method Archive
19 Jul 2017
Interfaces in Java

Interfaces in java are same like an abstract class, it does not attribute definition and all of its methods are abstract. An interface don’t have constructors and can’t be instantiated. From Java 8 onward non abstract methods can be included in the interface by using default keyword. These methods are known as default or extension