Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!aioe.org!newsfeed1.swip.net!uio.no!fi.sn.net!newsfeed1.tdcnet.fi!news.song.fi!not-for-mail Date: Mon, 24 Oct 2011 07:19:01 +0300 From: Donkey Hottie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Why can't I downcast in the following code References: <2196c265-94c4-4fcb-beb5-ddf3a7135da8@l10g2000pra.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <785fn8-05j.ln1@hurricane.fredriksson.dy.fi> Lines: 14 Organization: NBL Networks Oy NNTP-Posting-Host: 213.157.94.92 X-Trace: 1319430147 news.nbl.fi 4389 213.157.94.92:41028 X-Complaints-To: abuse@nblnetworks.fi Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9135 24.10.2011 6:16, Eric Sosman kirjoitti: > > Because all Toyotas are Automobiles, but not all Automobiles > are Toyotas. > Not true. Toyota has made also sewing machines and forklifts, dunno other products. :p -- Good day for overcoming obstacles. Try a steeplechase.