add getRole() method to Person
Add getRole() method Add an abstract method to Person and implement it in its subclasses to return a String corresponding to the role of the Person.
Nantes Université
Add getRole() method Add an abstract method to Person and implement it in its subclasses to return a String corresponding to the role of the Person.