Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Question What field represents attributes for an object of a class?

    What field represents attributes for an object of a class?

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default Re: What field represents attributes for an object of a class?

    Fields are attributes, there is no master field for all attributes.

  3. #3
    Join Date
    Nov 2012
    Posts
    4
    Rep Power
    0

    Default 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 _______.

  4. #4
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default 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

  1. class attributes vs instance attributes in web apps
    By rdangelo in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 06-26-2012, 01:39 PM
  2. How to change object attributes in an ArrayList
    By L3v3L in forum New To Java
    Replies: 1
    Last Post: 05-11-2012, 05:31 AM
  3. An object that represents a map of lines?
    By alaskatroll in forum Java 2D
    Replies: 2
    Last Post: 04-18-2012, 03:38 AM
  4. Replies: 3
    Last Post: 09-08-2011, 12:53 PM
  5. Classes with object attributes
    By RRasco in forum New To Java
    Replies: 5
    Last Post: 11-25-2008, 01:07 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •