Computer Science, asked by qwerty0124, 1 year ago

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 anupama777vidya
8

Answer:

It is supposed to be a ; not :

Refer the image

Hope it helps you

Attachments:
Similar questions