mjmboyens2556 mjmboyens2556
  • 03-12-2021
  • Computers and Technology
contestada

Java how to make a method from an interface.

Respuesta :

yvoneequidado
yvoneequidado yvoneequidado
  • 03-12-2021

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?

Answer Link

Otras preguntas

In two to three paragraphs, hypothesize about the effect the local topography had on the wars. In what ways did the Vietnamese adapt their fighting strategies t
The discontinuity separating the crust from the mantle is named as: A.Mohorovicic B.Conrad C.Reppetty D.Gutemberg
Which are the 3 major areas of society affected by science?
Select the best estimate of the capacity of a bath tub. A. 5 ml B. 500 ml C. 50 cl D. 500 L.
Help me ASAP for this picture
difference between Hazard and Disaster.​
which is not the following characteristics is not associated with a general ledger?
Grace manufactures and sells miniature digital cameras for exist330 each. 2,000 units were sold in May, and management forecasts 4% growth in unit sales each mo
The Closed Fund is a closed-end investment company with a portfolio currently worth $200 million. It has liabilities of $3 million and 5 million shares outstand
If P = (3,4), Find: Rx=1 (P)