How should you implement the interfaces?

Posted by: Pdfprep Category: 70-483 Tags: , ,

HOTSPOT

You plan to implement the following interfaces:

You have the following methods:

• getCelsiusFromKelvin returns the temperature in Celsius.

• getFahrenheitFromKelvin returns the temperature in Fahrenheit.

You need to implement both interfaces within a class named TempControl. The TempControl class must return the Celsius temperature as the default temperature if the following code executes.

How should you implement the interfaces? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Answer:

Leave a Reply

Your email address will not be published.