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
Student
you should return the result of callinghey()
- a
Staff
you should return the result of callinghelp()
- a
Professor
you should return the result of callinghello()
- otherwise return
null
.