文件名称:吃货系统OrderingUtil.java
文件大小:7KB
文件格式:JAVA
更新时间:2021-09-04 14:18:16
xuyao
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; orderset.times[0] = 15; orderset.names[1] = "张三s"; orderset.addresses[1] = "财经路"; orderset.states[1] = 1; orderset.dishMegs[1] = "甜点 1份"; orderset.sumPrices[1] = 20.0; orderset.times[1] = 16; }