Skip to main content
Review & prep中文

Java Exam Sprint

Question 01Syntax & evaluation

Integer division

What does this code print?

Java17
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