Newbie - stuck on basics, primitive operators question one, i have to sum these 2 + 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Newbie - stuck on basics, primitive operators question one, i have to sum these 2 + 4

i have to sum these : int x = 2; and int y = 4; Therefore i assume int result x+y; System.out.printin("6"); The hint gave me an r ? What am i missing please ?

6th Aug 2017, 10:41 AM
julian
3 Answers
+ 3
Its System.out.println // u wrote in
6th Aug 2017, 11:15 AM
Saumya
Saumya - avatar
+ 1
System.out.println(result)
6th Aug 2017, 10:42 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
Thks 👍
6th Aug 2017, 10:43 AM
julian