摘要:
package designMode; import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import jav 阅读全文
摘要:
package designMode;//抽象主题interface Subject{ void Request();}//真实主题class RealSubject implements Subject{ public void Request(){ System.out.println("访问真 阅读全文
摘要:
class Cpu{ private String description; double price; public String getDescription() { return description; } public void setDescription(String descript 阅读全文