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

Find the missing number _____:7 = 12:21 A. 4 B. 12 C. 3 D. 14
Also they have positive 1.25
Need help with this please
das zimmer von silvia ist nicht so gros,aber........zimmer hat einen balkon.
Which zero pair could be added to the function f(x)=x2+12x+6 so that the function can be written in vertex form?
What causes the change of seasons on earth? a. the changes in prevailing wind patterns at different latitudes b. the distribution of precipitation influenced
Which of the following statements about irony is false? a. irony is a difference between appearances and reality. b. verbal irony is when there is a differenc
In an A-frame house, the two congruent sides each form a 76° angle with the ground. What is the angle formed at the peak by the two sides?
What word can you spell with the letters c ,a ,y ,t ,h?
What is Kings response to the clergymen's approval of how the police kept order during the demonstrations ?