Multiple choice technology programming languages

What gets printed here... System.out.println("Sum of 5 and 3 is:"+5+3);

  1. Sum of 5 and 3 is:8

  2. error during compilation

  3. Sum of 5 and 3 is:53

  4. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In Java, the '+' operator evaluates from left to right. Since the first operand is a String, the subsequent numbers 5 and 3 are concatenated as strings, resulting in 'Sum of 5 and 3 is:53'.