interface keyword in java
- 17th Aug 2017
- 0
- 2881
- how to use interfaces in java with an example interface keyword in java with an example significance of interface in java why interface is so strong in java
The ” interface ” keyword is used to declare a new Java interface, which is a collection of methods and constants. Interfaces are a powerful feature of the Java language. Any class can implement one or more interfaces, meaning it implements all of the methods declared in those interfaces. Example interface Shape{ public […]