Fixing bugs 🐛
Fixing bugs 🐛
- 1
Locked
Comments (11)
- Popular
- New
- Old
You must be signed in to leave a comment
Anonymous _666
15 June, 16:43
light work baby
0
hidden #11769089
7 March, 22:40
I know the simple solution is to remove "The program must not print anything to the console after the fix.", but in case that requirement has to stay:
No other changes are allowed in the program except adding comments to comment out erroneous lines and
0
Anastasiia Nevmyvaka
13 February, 17:19
And as I can see, many people starting Oct 2025 commented this task, but nothing was done to fix it. Probably it pointless to wait for someone to do it.
+5
Anastasiia Nevmyvaka
13 February, 17:13
Impossible to do this task. Please fix the errors in the task first.
+2
Anonymous #11757337
13 February, 17:06
After the changes the program must compile successfully without errors. System.out.println(number); is the correct statement but The program must not print anything to the console after the fix. means ..?
0
Anonymous #11750700
24 January, 17:22
I'm just glad the comments have reinforced that I'm not crazy
+3
Anonymous #11741552
21 December 2025, 05:08
Um, what?? How am I supposed to not output anything into console without being able to modify the print line??
+3
Dunch Master
5 December 2025, 19:08
How am I supposed to both leave the println line to print out the number variable since it doesn't cause errors but also make sure nothing is printed out at the end? CodeGym please remove the condition that nothing can be printed out at the end since it conflicts with the purpose of the exercise which is to error correct.
+7
Surya K
20 October 2025, 22:37
Lol, can't satisfy all conditions.
+3
Anonymous #11707874
18 October 2025, 22:37
The trick is the incorrect thinking that declaring int uninitialized; is an error, and has to be commented out. It is NOT an error--which is why the ai didn't say anything. This is a bug in codegym.
+3