Accessing functions from Java Generics

Yep :neutral_face:, that’s where I got stuck. Would the only way to have the class be able to “handle” would be to take in object o and check with instanceof what class it was?