Results 1 to 4 of 4
- 11-26-2012, 08:15 PM #1
Member
- Join Date
- Nov 2012
- Posts
- 4
- Rep Power
- 0
- 11-26-2012, 08:25 PM #2
Re: What field represents attributes for an object of a class?
Fields are attributes, there is no master field for all attributes.
- 11-26-2012, 08:34 PM #3
Member
- Join Date
- Nov 2012
- Posts
- 4
- Rep Power
- 0
Re: What field represents attributes for an object of a class?
In my software/programming homework there is a question asking:
The fields that represent attributes for an object of a class are known as _______.
- 11-26-2012, 09:56 PM #4
Re: What field represents attributes for an object of a class?
Ah, that's slightly different wording. If they are asking about the object variables, they are called instance variables, if the question is with regard to attributes of a class itself (attributes which comprise the class itself and all instances of said class) then they are called Class variables. See here for more information: Understanding Instance and Class Members (The Java™ Tutorials > Learning the Java Language > Classes and Objects)
Similar Threads
-
class attributes vs instance attributes in web apps
By rdangelo in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-26-2012, 12:39 PM -
How to change object attributes in an ArrayList
By L3v3L in forum New To JavaReplies: 1Last Post: 05-11-2012, 04:31 AM -
An object that represents a map of lines?
By alaskatroll in forum Java 2DReplies: 2Last Post: 04-18-2012, 02:38 AM -
Modifying an object's attributes by using another object's method
By skybluenova in forum New To JavaReplies: 3Last Post: 09-08-2011, 11:53 AM -
Classes with object attributes
By RRasco in forum New To JavaReplies: 5Last Post: 11-25-2008, 12:07 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks