Compare commits
No commits in common. 'main' and 'Branch2' have entirely different histories.
Binary file not shown.
@ -1,17 +0,0 @@
|
||||
package edu.eurasia.Interface;
|
||||
|
||||
public class USBTest {
|
||||
public static void main(String[] args) {
|
||||
// 1. 创建电脑对象
|
||||
Computer computer = new Computer();
|
||||
|
||||
// 2. 连接USB设备
|
||||
computer.add(new UMouse());
|
||||
computer.add(new UMic());
|
||||
computer.add(new UKeyBoard());
|
||||
|
||||
// 3. 开机/关机测试
|
||||
computer.powerOn();
|
||||
computer.powerOff();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue