Java, Programming, Object Oriented Design, Objectorientedprogramming, Oop.
Java is a reference type that can contain only abstract methods (until Java 8) and default methods (from Java 8 onwards). Interfaces define a contract that implementing classes must fulfill. They are used to achieve full abstraction and multiple inheritance. Features of Interfaces Cannot Contain