wood burning stoves
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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Certification » Junior/Associate Certification (SCJA,OCAJ 5/6/8)
Bookmark "need an answer" Watch "need an answer" New topic
Author

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.


(peace)


Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
 
wood burning stoves
 
subject: need an answer