Re: primitive as part of an object or not ?
From: Chris Smith (cdsmith_at_twu.net)
Date: 11/28/03
- Next message: Jose Rubio: "Re: Considering creating a Java GUI..."
- Previous message: Thomas Weidenfeller: "Re: compress a short string to an even shorter string"
- In reply to: Roedy Green: "Re: primitive as part of an object or not ?"
- Next in thread: Tor Iver Wilhelmsen: "Re: primitive as part of an object or not ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Nov 2003 10:03:34 -0700
Roedy Green wrote:
> On Thu, 27 Nov 2003 23:40:42 +0100, Michiel de Roo
> <michiel@mderooPUNTNL> wrote or quoted :
>
> >In Java, is it possible to have a primitive variable, that is not part of
> >any object ?
>
> of course, unless you consider the class object an object.
Even if you did, you couldn't reasonably call static or local variables
members of the class object. In fact, even local variables of instance
methods can't really be said to belong to the instance, so they aren't
part of an object either, as you imply later in your post.
-- www.designacourse.com The Easiest Way to Train Anyone... Anywhere. Chris Smith - Lead Software Developer/Technical Trainer MindIQ Corporation
- Next message: Jose Rubio: "Re: Considering creating a Java GUI..."
- Previous message: Thomas Weidenfeller: "Re: compress a short string to an even shorter string"
- In reply to: Roedy Green: "Re: primitive as part of an object or not ?"
- Next in thread: Tor Iver Wilhelmsen: "Re: primitive as part of an object or not ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|