Java Exam Sprint
Question 01/Syntax & evaluation
Integer division
What does this code print?
int a = 7, b = 2;double result = a / b;System.out.println(result);Choose an answer
Select with 1 / 2 / 3, then press Enter to confirm or continue
What does this code print?
int a = 7, b = 2;double result = a / b;System.out.println(result);Select with 1 / 2 / 3, then press Enter to confirm or continue