If someone can help me with this. I'm complete -n o o b, only started to learn and got stuck.
If I'm asking this -
Scanner buck = new Scanner(System.in);
String fname;
System.out.println("Please Enter your Name ");
fname = buck.next();
which command do I use to make specific name only to be entered as an answer. For example name would be Vani.
If name is "Vani" than "you are in". If any else name "than you go out".
I understand this with numbers but not with letters. Any help would be appreciated.