20. State the output of the following statements:
System.out.println("Sum is" + (7+3)):
() System.out.println("Sum is" + 7 + 3):
() System.out.println("Sum is" + 7 + 3):
(iv) System.out.println("Sum is" + (7 + 3)):
(0) System.out.println("Sum is" + 7 + 3):
(vi) System.out.println("Sum is" + 7" + 3).
(vi) System.out.println("Sum is" + 7 + 3):
Answers
Answered by
8
Answer:
It is supposed to be a ; not :
Refer the image
Hope it helps you
Attachments:
Similar questions