OrderingSet orderset = new OrderingSet();// 创建订单对象 Scanner input = new Scanner(System.in); /** * 初始化订单信息 */ public void init() { orderset.names[0] = "张三"; orderset.addresses[0] = "问山路"; orderset.states[0] = 0; orderset.dishMegs[0] = "红烧鱼 2份"; orderset.sumPrices[0] = 76.0; order