permaculture playing cards
The moose likes Junior/Associate Certification (SCJA,OCAJ 5/6/8) and the fly likes need an answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Junior/Associate Certification (SCJA,OCAJ 5/6/8)
Bookmark "need an answer" Watch "need an answer" New topic

need an answer

sanjana suman
Ranch Hand

Joined: Oct 09, 2008
Posts: 51
what is the relation between students and classess in a college?

association or composition?

thanks in advance.

sanjana suman.
Omar Al Kababji
Ranch Hand

Joined: Jan 13, 2009
Posts: 357
I think is association.

composition is a term used when you create a class that has an instance of another class as its members and then adds additional methods to class B, which is usually prefered over inheritance.


Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
I agree. Here's the link:
subject: need an answer
It's not a secret anymore!