publicstaticvoidmain(String[]args){//TODO:AddyourcodehereScannersc=newScanner(System.in);ArrayListarr=newArrayList();booleanzt=false;Yuangongyg=newYuangong();while(true){if(zt==false){System.out.println("1.输入数据");}else{System.out.println("1输入数据0显示&quo