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

Organisms can reproduce sexually or asexually. There are important differences between the two modes of reproduction. Which of these statements correctly descri
What familiar face does salva find among the group while they are walking
work 40 hours a week at a factory and make $25.00 per piece you create. It takes you 4 hours to create one piece on the line, how much money do you make per wee
which statements are beliefs of communism?
I need help on these please help me smart people
1. A sample of gas has an initial volume of 25 L and an initial pressure of 123.5 kPa. If the pressure changes to 179.9 kPa, find the new volume, assuming that
What role does the brain play?
Name the element that has atom with 4 proton in the nucleus
19. A rectangular block of wood measures 3cm by 6 cm by 4 cm has a mass of 80.0 grams. What is the density of the wood? a. 5760 g/cm b. 0.9 cm3/g c. 1.11 g/cm3
The diameter of a circle is 20 miles. What is the circumference?