while(true) {
System.out.println("Enter User Name & Passowrd");
System.out.println("User Name : ");
String name=insert.next();
System.out.println("Password : ");
String pass=insert.next();
if(!(name==username)||!(pass==password))
System.out.println("The username or password is
wrong , Try again");
else
break;
}
如果条件为false或true时为什么要运行此