+ 1
With x==1 you compare numbers and with x.equals("1") you compare strings
28th Sep 2017, 11:12 AM
T0nd3
Often have questions like this?
Learn more efficiently, for free:
Hot today
solo learn is frustrating
4 Votes
New !!
1 Votes
The task "Duct Tape"
2 Votes
Who here
0 Votes
Web Development Job
2 Votes
Extra challenges powered by ai
0 Votes