Can link and Association applied interchangeably?

Answers were Sorted based on User's Feedback



Can link and Association applied interchangeably?..

Answer / surendra singh (suraj)

No, you cannot apply the link and Association
interchangeably. Since
* link is used represent the relationship between the two
objects.

* But Association is used represent the relationship
between the two classes.

link :: student:Abhilash course:MCA

Association:: student course

Is This Answer Correct ?    28 Yes 1 No

Can link and Association applied interchangeably?..

Answer / master

Links and associations can't be used interchangeably because
association is a relationship among classes and link is a
relationship among instance of classes.
e.g. => Person works for company.
Here a connection exists between two classes 'person' and
'company' so this is the example of association but if we
take one instance of each of the above classes as 'Ram' and
'Google' then we can be specific about the work which Ram is
doing for Google.
e.g. => Ram works as a programmer for Google.
But we cant use 'Person works as a programmer for Google'.
Hence we can't use links and associations interchangeably.

Is This Answer Correct ?    22 Yes 0 No

Post New Answer

More OOAD Interview Questions

Why is OOP good?

0 Answers  


What is polymorphism? When is it employed? give an example.

0 Answers   iNautix,


How a program can be structured using the concept of object oriented programming?

0 Answers  


What is meant by inheritance? what are the advantages of inheritance?

0 Answers  


Difference: Object Oriented Analysis (OOA) and Object Oriented Design (OOD)?

5 Answers   ABC, Protech,






Comment: C++ "includes" behavior and java "imports"

1 Answers   Protech,


What are a base class, subclass, and superclass?

0 Answers  


Does PowerShell support OOPs?

0 Answers   Microsoft,


Explain the use of Vtable and what are the various problems to override the functions?

0 Answers   Ittiam Systems,


Why abstraction is important?

0 Answers  


Can you explain primordial class loader?

0 Answers  


Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?

0 Answers  


Categories