posted 24 years ago
It is because when you initialized c, you set it to a grapefruit, with that statement c = g; Since c is really a grapefruit, you can cast it back down to a grapefruit object g1. But since c was never a tengelo, you can't cast it back down to something it never was.