207k views
4 votes
What output will be produced by this Java statement?

System.out.print("3" + (1+6));

A. an error is produced
C. 9
B. 37
D. 10

User Rahkeem
by
5.3k points

1 Answer

3 votes
A. An error is produced
User Thewildpendulum
by
5.8k points