Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

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
add comment

1 Answer

up vote 86 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
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 '11 at 4:35
    
@zzzzBov You were tweeted by StackProgrammer twitter.com/#!/StackProgrammer/status/121797550570352640 –  Phil Brown Oct 6 '11 at 4:47
    
@zzzzBov good for u :0 –  Louis Rhys Oct 6 '11 at 5:24
1  
@dodgy_coder: Yep "member variable" is often abbreviated to member. Which is fine... I guess. –  Coyote Oct 6 '11 at 13:38
show 1 more comment

Your Answer

 
discard

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.