This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Can someone please clarify the following question?
1. Consider a Flight Management system that manages the assignment of flights to FlightSchedule for an airline. The FlightSchedule class has add(f:Flight) and remove(f:Flight) methods defined in it. What is the relationship between FlightSchedule and Flight classes? a). Generalization relationship b). Composition relationship c). Inheritance relationship d). Dependency relationship e). Association relationship
(select 1 correct answer) what will be the ans..?? whizlabs says-association relationship.. some posts in Object by design forum say -composition relationship' i say - dependency Relationship whats the correct ans..??