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

A student needs 15.0 g of ethyl alcohol for an experiment. If the density of the alcohol is0.789 g/mL, how many milliliters of alcohol are needed?
I need to know #6 (:
30% of what number is 10.2
-10 = -5 over 4v please help
What is 58 1/8 divided by 6 2/3?
Most often, these are words that evoke mental pictures as we read or play on other senses. A. Irony B. Puns C. Antithesis D. Imagery
Which of the following statements are true about the Pilgrims' settlement? Select all that apply. -Due to the mild winter, the Pilgrims maintained a healthy pop
Suppose you fill a grass with ice cubes. When the ice cubes melt, is the glass still full?
how does having fertile soil help a group of people get a surplus of food?
Which was a hazard faced by industrial workers in the late 1800s?