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

Please explain your work!
the question and answers are below
Climate change in Europe. Which areas would be most affected??
Please write a six line poem with a hyperbole and an understatement. Pls help 25 points
answer 10 points!!! hurry
Simplify : (32/243)^4/5
For this assignment, you will ask questions about the factors that have caused a rise in global temperatures over the past century. Then, you will conduct resea
A curb is 4 inches high. The ramp from the sidewalk yo the street follows the same guidelines as other Ramos (no more than 4.8 degrees, so a 1:12 ratio of verti
There are 48 girls and 60 boys who want to participate in 6th grade intramural sports. Each team must have the same number of girls and the same number of boys,
A triangle has 3 angles. One of the angles is 40 degrees. Another angle is 60 degrees. The last one has a label of 2n - 10. What would "n" have to be?A. 25B. 35