?? projector.java
字號(hào):
package headfirst.facade.hometheater;public class Projector { String description; DvdPlayer dvdPlayer; public Projector(String description, DvdPlayer dvdPlayer) { this.description = description; this.dvdPlayer = dvdPlayer; } public void on() { System.out.println(description + " on"); } public void off() { System.out.println(description + " off"); } public void wideScreenMode() { System.out.println(description + " in widescreen mode (16x9 aspect ratio)"); } public void tvMode() { System.out.println(description + " in tv mode (4x3 aspect ratio)"); } public String toString() { return description; }}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -