搜索资源列表
count
- 编写Java 代码实现一个计数器类Counter,其中包含: 域counterValue 用来保存计数器的当前数值; 方法increment() 计数器加1; 方法decrement() 计数器减1; 方法reset() 清零; 思考:这个类应该定义几个构造函数?为什么? 利用该计数器类,编写一测试类,用以管理会议室投影仪的出借情况。每新购入一台投影仪或收回一台投影仪,计数器加1;每淘汰一台投影仪或借出一台投影仪,计数器减 1。-Write Java cod
use-interface
- 图形用户界面编程 (1)为计数器累编写图形界面,其中包括三个按钮:计数器加一、减一和清零 (2)编程实现一个模拟手机的图形用户界面-Graphical user interface programming 1) as the counter tired to write graphic interface, including three buttons: counter plus one, minus one and reset (2) the programming to r