/*找人,找到输出在第几楼第几号房间(考虑没有找到的情况)*//*{{"凤姐","蔡除坤","张洁"},{"姚鸣","芙蓉姐姐"},{"马尔克死","打仲马","肝塞特","高死你"}};*/import java.util.*;publicclassB{publicstaticvoidmain(String[]args){Scanner input=newScanner(System.in);String arr[][]={{"凤姐","蔡除坤","张洁"},{"姚鸣","芙蓉姐姐"},{"马尔克死","打仲马","肝塞特","高死你"}};/*好考虑没有找到*/boolean b =false;for(int i =0; i<arr.length; i++){for(int j =0; j < arr[i].length; j++){System.out.print(arr[i][j]+" ");}}System.out.print("\n");System.out.println("Who is you need to look for?");String name = input.next();for(int i =0; i<arr.length; i++){for(int j=0; j<arr[i].length; j++){if(name.equals(arr[i][j])){b=true;//赋值,满足条件,找到System.out.println(name+"在第"+(i+1)+"楼第"+(j+1)+"个号房间");break;}}}}}
public class E{public static void main(String[]args){EQ enew EQ();e.name"Mr.Deng";e.age29;e.weight50.5;e.hobby"Designing something that he like";e.jieShao();String be.sentPresence();//对象接受返回值System.out.println("Thats "b…