Yep
, 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?
Yep
, 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?