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

Which of the following lines from Maya Angelou's "Still I Rise" contains a simile?
What are the roots of the equation x2+6x-9=0
The organ behind the stomach that produces enzymes & the hormone insulin is the _____.
Let v be the vector from initial point P1 to terminal point P2. Write v in terms of i and j. 2) P1 = (0, 0); P2 = (3, -4)
Why did Americans turn to the federal government for aid after the first year or so of the Depression? Americans held the government responsible for the Depre
Solve 3,4,5 for brainiest
what roles does violence and brutality play in the Japanese identity according to hillenbrand
Write an expression for the following situation and solve it. Mr. Simms bought 20 pencils. He used 1/4 of the pencils and then gave 4 to his students.
A somatic cell spends approximately ________% of the its lifespan in Interphase (I) & only ________ % actively dividing via mitosis (M)
show or describe two different ways to complete the comparison using < , > ,or =: 0.26 () 0.4