• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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