Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

dependency or association??

 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..??

mallika
reply
    Bookmark Topic Watch Topic
  • New Topic