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
What are a base class, subclass, and superclass?
Can you tell something about GDI objects?
How does abstraction differ from encapsulation.
Can different parts of a partial class inherit from different interfaces?
If a class inherits an interface, what are the 2 options available for that class?
What is the super keyword?
Explain about realistic modeling?
What is the difference abstract class and interface?
What interface must an object implement before it can be written to a stream as an object?
What are the properties that are defined in an object model?
What are the access modifiers?
Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?
Why do we use oops concepts? What is its advantage?
Why we use oops concepts? What is its advantage?
What is operator overloading?