Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: Abu Yahya Newsgroups: comp.lang.java.programmer,comp.lang.java.help Subject: Re: What's the difference between and instance and an object? Date: Sat, 11 Jun 2011 23:58:20 +0530 Organization: Aioe.org NNTP Server Lines: 15 Message-ID: References: <5d84ac2b-e81b-4c40-b3e3-c7248f1d7298@r35g2000prj.googlegroups.com> <4decfdbc$0$17721$426a74cc@news.free.fr> <1a327de4-8451-4379-a75b-7cc2dab3fb5b@34g2000pru.googlegroups.com> <4ded05bb$0$17813$426a74cc@news.free.fr> NNTP-Posting-Host: VXdcwsc5kgxY1YKHPVeYyQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5218 comp.lang.java.help:763 On 6/10/2011 11:36 PM, Lewis Bloch wrote: > On Jun 8, 8:51 am, Abu Yahya wrote: >> On 6/6/2011 10:24 PM, Mayeul wrote: >> >>> In other words, it cannot possibly build an instance of any other class, >>> neither Object nor anything. >> >> Won't 'A' be an instanceOf Object? > > An object of any type T is automatically and inherently an instance of > any type S that is a supertype of T, by the very definition of > subtyping. Subtypes embody the /is-a/ relationship. > Thanks, Lew, for the explanation.