What are different properties provided by Object-oriented systems ? Can you explain different properties of Object Oriented Systems? Whats difference between Association , Aggregation and Inheritance relationships?

Showing Answers 1 - 1 of 1 Answers

Neha

  • Dec 22nd, 2005
 

Object Oriented Systems have following properties:

  • provide support for complex data types
  • support inheritance
  • provides encapsulation of data
  • provides extensibility of existing data types and classes

Inheritance is the process of acquiring the behavior of the inherited class and having access to its properties, methods thereby reducing the total number of lines of code.

Aggregation is a part whole relationship. eg.A document comprises of pages. (aggregation of pages)

Association is a relationship between 1 or more instances of a class.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions