day08-static应用-Arrays-操作数组的工具类
This commit is contained in:
@@ -57,11 +57,12 @@ public class Test13 {
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*if (!result) {
|
||||
System.out.println("用户名不正确");
|
||||
}*/
|
||||
//判断是否是最后一次比对,如果是,那么就是用户名不正确
|
||||
if (i == users.size() - 1) {
|
||||
System.out.println("用户名不正确");
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user