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

[tex]x-17=-25[/tex] -------------
‘ध्वनि’ कववता में ध्वनि शब्द से क्या अलिप्राय है?
Word that means that an organism does not move
Evaluate the expression below when X = 4 and y = (-3) 4x + 2xy
Use this paragraph: Layla drew a diagram of forces acting on the rock in Earth’s crust. She drew arrows pointing inwards, representing forces pressing on the ro
the population of a town is 8000 if the rate of growth of population of the town is 4% for real estimate the population of the town at the end of 2 years​
Jake is starting his own small business. He will have several computers and he will need to share files, connect to the Internet, and print documents. What util
How can we reduce the production of harmful gases that form acid rain
A table is made using the following two patterns. Pattern x: Starting number: 6, Rule: add 6 Pattern y: Starting number: 1, Rule: add 1 Complete the table for t
Grave is to cemetery as body is to Possible answers: gene,genetics,morgue,renaissance,prenatal,generate,morbid,nascent,genisis,mortify