日期:2014-05-20 浏览次数:20873 次
class Employee{
public:
    Employee();
    FullName getName()const;
    String getAddress()const;
private:
    String name;        //书中说,此处的private的声明放在类的头文件中是不好的。
    String address;
    String jobClass;
}
class Employee{
public:
    Employee();
    FullName getName()const;
    String getAddress()const;
private:
    EmployeeImplementation * implementation;
}