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

What is the gram-formula mass of Fe(NO3)3? (1) 146 g/mol (3) 214 g/mol (2) 194 g/mol (4) 242 g/mol
In an oxidation-reduction reaction, the number of electrons lost is (1) equal to the number of electrons gained (2) equal to the number of protons gained (3) le
Equal amounts or ethanol and water are mixed at room temperature and at 101.3 kPa. Which process is used to separate ethanol from the mixture? (1) distillation
Where is the Statue of Liberty?
What are two ways that Americans can participate in their democracy?
What happened at the Constitutional Convention?
What is the name of the Vice President of the United States now?
Which reaction is single replacement? (1) 2H2O2 --> 2H2O + O2 (2) 2H2 + O2 --> 2H2O (3) H2SO4 + Mg --> H2 + MgSO4 (4) HCl + KOH --> KCl + H2O
What is the name of the national anthem?
Name one problem that led to the Civil War.