0%
0 / 7 answered

Variables and Data Types Practice Test

7 Questions
Question
1 / 7
Q1

Based on the temperature conversion tool below, how does changing fahrenheit from double to int affect the printed output?


double celsius = 37.0;

Converter conv = new Converter();

double fahrenheit = conv.toFahrenheit(celsius);

System.out.println(fahrenheit);

Question Navigator