Aggregation Sample Class In order to gain practical knowledge of aggregation and to practice deep copying of the field objects we will implement a...
AggregationSample class,class must have 3 fields:
fractionField of type Fraction
- Attachment 1
- Attachment 2
- Attachment 3
- Attachment 4
Aggregation Sample ClassIn order to gain practical knowledge of aggregation and to practice deep copying of thefield objects we will implement a class called Aggregation Sample .The class must have } fields :fraction Field of type Fraction ( class from the first problem ;arrayField - array of integers - type int double Field of type double*The class does not really have any functionality and it's main purpose is to give You ahands - on review of the aggregation concept . Class has a very limited number of methods .all of them are standard methods that you would expect to have in any regular class .1 . Non- argument constructor that setsa. fraction Field to fraction ! .
Show more