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. Commented 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! Commented 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. Commented Oct 6, 2011 at 4:35
  • @zzzzBov You were tweeted by StackProgrammer twitter.com/#!/StackProgrammer/status/121797550570352640 Commented Oct 6, 2011 at 4:47
  • @zzzzBov good for u :0 Commented Oct 6, 2011 at 5:24
  • 1
    @dodgy_coder: Yep "member variable" is often abbreviated to member. Which is fine... I guess. Commented Oct 6, 2011 at 13:38

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.