Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


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

where stuff = a single word for both methods and attributes

share|improve this question
"Properties" might also be reasonable, but that is often used for specific kinds of members. – Sean McMillan Oct 6 '11 at 14:05
up vote 85 down vote accepted

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.

share|improve this answer
That's it! Muchas gracias! – Jay Oct 6 '11 at 4:33
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 '11 at 4:35
@zzzzBov You were tweeted by StackProgrammer!/StackProgrammer/status/121797550570352640 – Phil Brown Oct 6 '11 at 4:47
@zzzzBov good for u :0 – Louis Rhys Oct 6 '11 at 5:24
@dodgy_coder: Yep "member variable" is often abbreviated to member. Which is fine... I guess. – Coyote Oct 6 '11 at 13:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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