Lamda expressions
Lamda Expressions in Java: Default Methods in Interface: clich here without effecting implementation classes if we want to add new methods to interface then we default methods we can overide default methods in implementation classes or we can use deault implentation provided in interface it is up to you. Default methods shold not be the methods of object classes. Diamond problem can occur if a class implemts 2 inerfaces having same methods, the solution is discussed in above link. Static Methods in Interface: click here static methods are not part of implementation classes by deault.So you cannot override static methods in implentation classes. Since it is not part of implementation classes, you cannot call it by creating object of implementation class. Only way to call static method in interface is.InterfaceName.methodName() To define general utily methods which never talks about objects we use static methods inside interface Functional Interface: click here An interface wi...