Examveda
Examveda

What is the output of the following code snippet in Java? `System.out.println("5 + 2 = " + 5 + 2);`

A. 5 + 2 = 7

B. 7

C. 5 + 2 = 52

D. Compilation Error

Answer: Option C


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java