No comments needed

  • 1
  • Locked
Uncomment one line so that the program displays the numbers 12 and 2 (first 12, and then 2).
You can't complete this task, because you're not signed in.
Comments (19)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Anonymous #11245823
Level 2 , Santa Rosa, United States
5 January, 21:09
System.output.println("12"); System.out.println("2");
Nathaniel
Level 2 , United States of America, United States
4 January, 00:35
how is uncommenting y = x + y; be the answer?
Tagle, Aries Joseph
Level 2 , Philippines
9 January, 05:43
int x = 2; // value of x int y = 12; // value of y y = x + y; // reassign value of y,,,,, y = 2 + 12 = 14(y=14) x = y - x; // x = 14-2 = 12(new value of x = 12) y = y - x; // y = 14 - 12 = 2(y = 2)
18CS029_GOKUL S
Level 2 , CodeGym University in India, India
21 December 2022, 10:40
hii
Anonymous #10971300
Level 2 , United States of America, United States
3 April 2022, 01:18
Don't understand what I just did. Can someone elaborate please?
David Angelo Rivera
Level 2 , Philippines
23 December 2022, 12:23
12 + 2 = whatever the answer here would go to the var x
Anonymous #10961577
Level 2 , Gurgaon, India
17 March 2022, 18:59
great
Cooper Smith
Level 2 , United States
12 March 2022, 13:53
Yes I did it!
Jacobdagamer1
Level 1 , United States
28 January 2022, 00:25
I did it!! ;)
BijjamNarayanaReddy Java Developer at Oracle
21 January, 07:33
plz sent how to answer
Anonymous #10908064
Level 1 , Bangalore, India
12 January 2022, 08:16
System.out.println("12"); System.out.println("2");
Anonymous #10890116
Level 2 , Highland Park, United States
1 December 2021, 02:34
System.out.println("12"); System.out.println("2");
Anonymous #10890116
Level 2 , Highland Park, United States
1 December 2021, 02:33
hi