what is interface ??
Answers
Answered by
1
Answer:
An interface is a reference type in Java. It is similar to class. It is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface. Along with abstract methods, an interface may also contain constants, default methods, static methods, and nested types.
Answered by
2
- Think of an interface as a "face-to-face," a place where things, or people, or people and things (like you and your computer) meet. Any common boundary or area of convergence can be an interface.
- Used as a verb, interface means to merge or mingle, bonding and synthesizing by communicating and working together.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Similar questions