java编程思想学习笔记 第七章 复用类
★ 组合★ 继承一、组合语法★ 组合的概念◆ 由现有类的对象组成新的类★ class WaterSource // 水源 { private String s; // 字符串对象 WaterSource() { System.out.println