Person Whisperer
Geoffrey Challen // 2021.2.0
Define a method named whisper.
whisper should accept a single Person instance and return a String?.
If the person is:
- a
Studentyou should return the result of callinghey() - a
Staffyou should return the result of callinghelp() - a
Professoryou should return the result of callinghello() - otherwise return
null.