AP Computer Science A Quiz
9 questions · no time limit
0:00
USING OBJECTS AND METHODS
Question 1 of 9
No time limit
Current
Answered
Flagged
Not seen
Given the object and method below, what is the output when toFahrenheit is called with input 25.0? public class TempConverter { public double toFahrenheit(double celsius) { return celsius * 9.0 / 5.0 + 32.0; } } Scanner input = new Scanner(System.in); TempConverter converter = new TempConverter(); double celsius = 25.0; double fahrenheit = converter.toFahrenheit(celsius); System.out.println(fahrenheit);
YOUR PROGRESS
9
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F