Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

what is virtual function and pure virtual function ?

0 Answers   Infosys,


What is meant by overloading functions and operators?

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  


If there is a conflict between base class method definition and interface default method definition, which definition is picked?

1 Answers  


Can different parts of a partial class inherit from different interfaces?

0 Answers  


What do you mean by "explicitly implemeting an interface". Give an example?

0 Answers  


Difference between composition and inheritance ?

0 Answers  


What do you mean by abstract class?

0 Answers   Atos Origin, TCS,


Can a class in java be inherited from more than one class?

0 Answers  


What is the use if instanceof keyword? And how do refer to a current instance of object?

0 Answers  


Explain the rationale behind object oriented concepts?

0 Answers  


Explain about message passing in object oriented programming?

0 Answers  


Categories