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

pros and cons of the inter's ability to access information
3p/5=12 Please help p=?
The build up of the US military in 1916 was an example of
The word ecology is made up of two Greek words, oikos and logia, and means "_____." house knowledge life logic house logistics environmental knowledge
how to find the volume of L blocks?
Which religious leader who trained as a carpenter taught that the kingdom of God was one of faith? A. Jesus B. Nero C. Cicero D. Constantine
Why was the Reapportionment Act of 1929 passed? The number of senators per state was changing as the country expanded. Congressional districts were redrawn to e
What challenges did Bill Clinton have during his second term? A. A faltering economy B. Cold War hostilities with the Soviet Union C. Scandal over personal invo
Based on a farmer’s soil composition he must mix his fertilizer at a certain strength. He must mix 5% of nitrogen, 6% phosphorus and 4% potassium per tonne
what is a important legacy of British rule to Nigeria