35

In a class diagram, each class contains methods and attributes. What's the correct word for describing both of them besides something generic such as contents or items?

Context:

The Orange class extends the Fruit class and inherits its stuff.

where stuff = a single word for both methods and attributes

1
  • "Properties" might also be reasonable, but that is often used for specific kinds of members. Oct 6, 2011 at 14:05

1 Answer 1

87

The word you're looking for is "members". Typically they are referred to as "class members".

The Orange class extends the Fruit class and inherits its members.

6
  • That's it! Muchas gracias!
    – Jay Wick
    Oct 6, 2011 at 4:33
  • 12
    Holy popular batman! This is my new high score of an answer, and I didn't even spend 30 seconds writing it out.
    – zzzzBov
    Oct 6, 2011 at 4:35
  • @zzzzBov You were tweeted by StackProgrammer twitter.com/#!/StackProgrammer/status/121797550570352640
    – Phil
    Oct 6, 2011 at 4:47
  • @zzzzBov good for u :0
    – Louis Rhys
    Oct 6, 2011 at 5:24
  • 1
    @dodgy_coder: Yep "member variable" is often abbreviated to member. Which is fine... I guess.
    – Coyote
    Oct 6, 2011 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.