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 the analysis phase?

715


How do you prevent a class from being inherited by another class?

760


Write down how will you create a Binary tree?

761


What are the different types of inheritance?

682


Can we use static method definitions in interfaces?

722






What is dynamic or run time polymorphism?

721


What is the use if instanceof keyword?

766


What are the different principle of OOPS?

739


Can an interface contain fields?

731


What is sealed modifiers?

736


What is data encapsulation and what is its significance?

660


What are virtual functions, base class pointer, derived class pointer, biding references?

733


What is function override?

767


Why is class hierarchies managed in object-oriented programming?

727


When will you use an interface and abstract class?

716