This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Explanation: Line 2 is fine since array f1 contains elements of type G which is a subclass of F. The cast to Gis needed, though, since the declared type of f1 is F and F is a superclass of G. May be line 2 must be written one line below? Can you explain me that line by line? Thank you. [ August 27, 2002: Message edited by: Dmitry Golynkin ]