万金流
初次使用博客园,目前感觉还不错。 不知不觉用了4年零4个月了,越来越喜欢博客园。
摘要: 如题,书上的例子。 营业员类: //营业员类 public class Yyy { int xian,spend;//营业员空闲时刻,办理一个业务花费的时间 public Yyy(int _xian,int _spend) { xian=_xian; spend=_spend; } } 营业厅类: 阅读全文
posted @ 2020-11-16 14:08 万金流 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 如题: 顺序队列,数组实现: public class Array_Queue { int[] a=new int[5]; int front=0,rear=0,count=0; public boolean isEmpty() { if(front==rear&&count==0) { retur 阅读全文
posted @ 2020-11-16 14:00 万金流 阅读(194) 评论(0) 推荐(0) 编辑