+ 1

beginner question regarding variables.

Hi please help having problem with this code. Do not know what is the problem. public class MyFirst { public static void main(String[] args) { int x = 2; y = 4; int result = x + y; System.out.printIn(result); } }

21st Sep 2017, 6:41 AM
alvin
alvin - avatar
2 Réponses
+ 13
@alvin :::: int x=2,y=4; //just 1 error ☺ @kanishk ::: see again dude
21st Sep 2017, 7:45 AM
Changed
Changed - avatar
0
thanks men i understand now
22nd Sep 2017, 1:02 PM
alvin
alvin - avatar