+ 2
What's wrong with my code? [SLOVED by TheWhiteCat]
My code: import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner s = new Scanner(System.in); String Nickname = s.nextLine; Whats wrong? Java give error
3 ответов
+ 3
Twylux , I think you are missing the brackets "()" after nextLine method 🐱
+ 3
I like when people add [SOLVED] in their question, I would really like it if it was a rule in SoloLearn. Anyway, just wanted to say you wrote it as SLOVED :)
0
TheWhiteCat, Woo, thanks, now my code is working