Difference Between Attribute and Association.

Answer Posted / naveen sisupalan

Attribute is the property or state of a class and
association is the relationship between two classes.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about a class?

631


What is the use of finalize method?

654


What is a ternary operator?

629


Explain the rationale behind object oriented concepts?

692


What is function override?

676






explain the difference between operator overloading and function overloading.

657


Define exceptions?

602


What is the difference between an Abstract class and Interface?

674


What are the features that are provided to make a program modular?

679


What are the features of encapsulation ?

643


Does a class inherit the constructor of its super class?

593


If a class inherits an interface, what are the 2 options available for that class?

617


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

611


Explain method overriding.

675


How can we restrict inheritance for a class so that no class can be inherited from it?

741