+ 2

What will be the output?

What will be the output of give code in java : System.out.print("2+2="+2+2)

26th Aug 2018, 9:16 AM
Dipak Kumar Prasad
Dipak Kumar Prasad - avatar
1 Answer
+ 4
It really doesn't take long to try things out for yourself. That is the best way to learn after all. This took me a couple of minutes (and I don't know any Java at all). https://code.sololearn.com/cGp9yyrMcdkq/?ref=app
26th Aug 2018, 9:30 AM
Russ
Russ - avatar