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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method overriding?

954


What is static polymorphism?

1145


Explain about message passing in object oriented programming?

1006


Explain about the analysis phase?

995


What is the @functionalinterface annotation?

955


Explain about abstraction?

1078


What is the benefit of using inheritance?

1039


Explain what an object is.

1075


Can you instantiate an abstract class and what is an inner class?

965


What is the base type from which all structs inherit directly?

938


Explain about multiple inheritance?

1066


What is Abstract method and how different from Virtual Method?

940


How many methods are there in the externalizable interface?

1023


Write down how will you create a Binary tree?

1021


Why is C not an OOP language?

1031