摘要:
使用简单工厂模式实现一个计算器功能一、过程化设计主方法如下: 1 import java.io.BufferedReader; 2 import java.io.IOException; 3 import java.io.InputStreamReader; 4 5 6 public class Computer { 7 8 /** 9 * @param args10 * @throws IOException 11 */12 public static void main(String[] args) throws IOExcept... 阅读全文