Fill in allFetches so that it returns the fetch() text of every dog in the array, one per line. Cats are skipped — they have no such method.
The program prints two lines: Rex fetches the ball and Bo fetches the ball.
Check before casting: a cat cast to Dog would crash the program.