输入一个名字,此名字是否存在这个数组中_数组中判断姓名是否存在-CSDN博客
文章浏览阅读440次。@Test public void test6(){ String[] array1={"lili","huahua","yuanyuan","tangtang","tiantian"}; System.out.println("请输入要找的名字"); String names = new Scanner(System.in).next(); boolean isOk = false......