First page Back Continue Last page Graphics
ACCESSOR FUNCTIONS
Similar to the accessors in Java.
Provide access to the data members.
e.g. class Student_info { public: double grade( ) const; istream& read(istream&); string name( ) const { return n; } private: string n; .....