Morgan Stanley interview question

Explain Animals (Dog, Fish) using class