+ 1
What's wrong while taking input
It's showing error. Why?? https://code.sololearn.com/cX4ct0ySqpxq/?ref=app
3 Respuestas
+ 1
nextLine() <- with uppercase 'L'
nextline() <- with lowercase 'L'
We must call methods by their name correctly. A difference of a letter, or letter case matters for case sensitive languages.
+ 2
Line 7:
swallow.nextLine(), not swallow.nextline()
Java is a case sensitive language, must take care to minimize typos
+ 2
@Ipang what's different ?