import java.util.Scanner;
public class MainFile {
public static void main(String[] args) {
do {
Scanner asc = new Scanner(System.in);
String userTXT = asc.nextLine();
} while(userTXT != "Twitter!");
}
}
The code is simple. Yet, there's Cannot find symbol
for userTXT
.
Any tip to avoid such Error is welcomed!