What is an instance of a field called?

Posted by waxwing on Stack Overflow See other posts from Stack Overflow or by waxwing
Published on 2010-06-16T12:00:47Z Indexed on 2010/06/16 12:02 UTC
Read the original article Hit count: 161

Filed under:

This might be an odd question, but it has actually caused me some headache.

In Object oriented programming, there are accepted names for key concepts. In our model, we have classes with methods and fields. Now, going to the data world:

  • An instance of a class is called an object.
  • An instance of a field is called... what?

A value? Isn't the term value a little broad for this? I have been offered "property" as well, but isn't property also part of the model and not the data?

(This is not purely academic, I am actually coding these concepts.)

© Stack Overflow or respective owner

Related posts about oop