Fixing bugs 🐛
Fixing bugs 🐛
- 1
Locked
Comments (5)
- Popular
- New
- Old
You must be signed in to leave a comment
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??
0
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.
+4
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
Anonymous #11707874
18 October 2025, 22:30
This task has a catch 22: if System.out.println(number); is commented out, it passes the last criteria but fails the second criteria. AI recommends removing that comment. Then it fails the last criteria but passes the second criteria. That's illogical. The two criteria contradict each other.
+2