can u help me with this:
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
String name;
System.out.print("What is your name? ");
if(name.equals("Bob")) {
System.out.println("Oh hi, Bob. I know you. Good to see you again.");
name = s.nextLine();
}
}
}
what can i do?