+ 1
What is the difference between an interface and implementation
collections
3 Respuestas
+ 3
interface class contains only abstract method. implements is used to inherit that interface class
+ 1
Interface does not have any implementation (Java version < 8).. It will just have method signatures .. If any class wants to give definitions to such method it has to implement the interface using "implements" keyword.. so interface is just a structure and implementation is actual implementation of that structure.
- 1
in interface we use implementation