21.7.1 Name Ambiguity (cont.)

// get_id will return Employee identification number
string TeachingAssistant::get_id()
{
   return Employee::get_id();
}

string TeachingAssistant::student_id()
	// Make student value available by a different name
{
   return Student::get_id();
}

prev |top |next