Find expert answers and community support for all your questions on IDNLearn.com. Our experts provide accurate and detailed responses to help you navigate any topic or issue with confidence.

Java how to make a method from an interface.

Sagot :

Answer:

To access the interface methods, the interface must be "implemented" (kinda like inherited) by another class with the implements keyword (instead of extends). The body of the interface method is provided by the "implement" class:

Explanation:

Hope it help?