Which line of codes prints the highest number?

Given the code fragment:
System.out.println(2 + 4 * 9 – 3); //Line 21
System.out.println((2 + 4) * 9 – 3); // Line 22
System.out.println(2 + (4 * 9) – 3); // Line 23
System.out.println(2 + 4 * (9 – 3)); // Line 24
System.out.println((2 + 4 * 9) – 3); // Line 25
Which line of codes prints the highest number?
A. Line 21
B. Line 22
C. Line 23
D. Line 24
E. Line 25

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.