It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Java Forum

exam prep (3)

exam prep (3)

Postby danielle on Mon Apr 30, 2007 3:35 pm

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.
danielle
 
Posts: 3
Joined: Mon Apr 30, 2007 3:25 pm

Who is online

Users browsing this forum: No registered users and 2 guests