import java.util.Scanner;
public class System {
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
String cName, cContact, cAddress, cIC, cDob, cGender;
int i;
}
}
Sorry if this was a repost, but i've searched high and low for a good answer, some suggested having to import java.util.Scanner which i already have, the problem is compiler kept having the error at line Scanner scan = new Scanner(System.in);
"cannot find symbol
symbol: variable in
location: class System"
?! is the library corrupted or something? using NetBeans IDE 8.0.1.