Implementation of Object Models
Implementation of Object Models
Implementation of Object Models
Objective
The objective of this activity is to give idea of practical implementation of basic object
oriented concepts like:
Abstraction
Encapsulation
Association
Composition
Inheritance
In this step you are required to code relationship between classes using C++
conventions.
C++ provides proper mechanism for usage of inheritance, composition and
aggregation. All these are already discussed in lectures in great details.
Follow standard C++ syntax for respective relationship.
How a class will interact in terms of C++ code with other class if it is inherited?
How a class will interact in terms of C++ code with other class if it is aggregated?
How a class will interact in terms of C++ code with other class if it is composed
of?
How we can access/use other class data members, member function for identified
relationship?