从控制台读入,典型的装饰者模式 这是从控制台读入,典型的装饰者模式: String in =(new BufferedReader(new InputStreamReader(System.in))).readLine();