摘要:
public static Scanner input; public static Goods[] goods;//创建一个Goods对象数组 static { input=new Scanner(System.in); goods=new Goods[3];//将对象放在数组,并且初始化值 go 阅读全文
摘要:
出现死循环: private static double divede() { Scanner input=new Scanner(System.in); while (true){ try { System.out.println("请录入第一个数"); int num1=input.nextIn 阅读全文