Westonci.ca is the Q&A platform that connects you with experts who provide accurate and detailed answers. Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

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?