Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5191

Re: What's the difference between and instance and an object?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!s16g2000prf.googlegroups.com!not-for-mail
From Lewis Bloch <lewisbloch@google.com>
Newsgroups comp.lang.java.programmer, comp.lang.java.help
Subject Re: What's the difference between and instance and an object?
Date Fri, 10 Jun 2011 11:06:51 -0700 (PDT)
Organization http://groups.google.com
Lines 15
Message-ID <fd76d26e-01ee-449f-b631-bad6030d4e1e@s16g2000prf.googlegroups.com> (permalink)
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> <iso5qu$36v$2@speranza.aioe.org>
NNTP-Posting-Host 127.6.6.6
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1307729319 30766 127.0.0.1 (10 Jun 2011 18:08:39 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Fri, 10 Jun 2011 18:08:39 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info s16g2000prf.googlegroups.com; posting-host=127.6.6.6; posting-account=6gJCewoAAAATGk_BiH9Eo-1pkyAWegc7
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order ASELCHRU
X-HTTP-UserAgent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.91 Safari/534.30,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5191 comp.lang.java.help:762

Cross-posted to 2 groups.

Show key headers only | View raw


On Jun 8, 8:51 am, Abu Yahya <abu_ya...@invalid.com> 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.

--
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

What's the difference between and instance and an object? Chad <cdalten@gmail.com> - 2011-06-06 09:08 -0700
  Re: What's the difference between an instance and an object? Chad <cdalten@gmail.com> - 2011-06-06 09:16 -0700
  Re: What's the difference between and instance and an object? Patrick <patrick@antispam.invalid> - 2011-06-06 18:18 +0200
    Re: What's the difference between and instance and an object? Chad <cdalten@gmail.com> - 2011-06-06 09:33 -0700
      Re: What's the difference between and instance and an object? Mayeul <mayeul.marguet@free.fr> - 2011-06-06 18:54 +0200
        Re: What's the difference between and instance and an object? Chad <cdalten@gmail.com> - 2011-06-06 10:11 -0700
        Re: What's the difference between and instance and an object? Abu Yahya <abu_yahya@invalid.com> - 2011-06-08 21:21 +0530
          Re: What's the difference between and instance and an object? Abu Yahya <abu_yahya@invalid.com> - 2011-06-08 21:24 +0530
            Re: What's the difference between and instance and an object? Patricia Shanahan <pats@acm.org> - 2011-06-08 09:33 -0700
              Re: What's the difference between and instance and an object? Abu Yahya <abu_yahya@invalid.com> - 2011-06-08 22:07 +0530
          Re: What's the difference between and instance and an object? Lewis Bloch <lewisbloch@google.com> - 2011-06-10 11:06 -0700
            Re: What's the difference between and instance and an object? Abu Yahya <abu_yahya@invalid.com> - 2011-06-11 23:58 +0530
      Re: What's the difference between and instance and an object? Lewis Bloch <lewisbloch@google.com> - 2011-06-10 11:05 -0700

csiph-web