The class dictionary has references to ocjects of the class book as members, class dictionary can also inherit the attributes and behaviours from its super class book.
(i) implement both classes dictionaryAggr and bookAggr in which page and definition objects can be defined with aggregation and return the ratio of definitions to pages by the method computeRatio in class dictionaryAggr
(ii)implement both classes dictionaryInherit and bookInherit in which page and deffinition objects acn be defined with inheritance and return the ratio of definitions to pages by the method computeRatio in class DictionaryInherit.


