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

Mariana, Pamela y Nancy decidieron comprar una consola de video juegos X Box y acordaron que cada una aportará 1/3 parte del costo. Al llegar a la tienda para c
Which is correct about the electron transport chain (ETC) in the mitochondria? A) It will oxidize the electron carrier NADH B) The ETC pumps protons to reduce N
Can the Earth supply all the materials needed for billions of people to enjoy a reasonable life? Keep in mind that as we move forward in years the population in
what is a38 of the sequence -1, 1, 3, 5, 7​
PLEASE HELP ME ASAP, pleaseee
What important victory did one founder of the Carolingians achieve?After the fall of the Roman Empire, which political force assumed the civic duties?
Which layer of the uterus is the site for implantation of a fertilized egg? A) Myometrium B) Stratum basalis of the endometrium C) Stratum functionalis of th
The heart is made of __________ muscle.
The nitrogen cycle has a large _____ component, while the phosphorus cycle has a large _____ component. a. atmospheric, sedimentary rock b. terrestrial biotic,
can someone help me asap?????