Suppose that the Accounts class in the object database of the previous example has child classes SavingsAccounts and CheckingAccounts and that CheckingAccounts has a child class EconomyCheckingAccounts. Explain how the semantics of inheritance a?ects the retrieval of objects in each class. (For example, what classes need to be accessed to retrieve all checking account objects that satisfy a
particular predicate?)
What will be an ideal response?
Di?erent accounts can be in di?erent classes. A query that potentially might need to access every account would have to access the classes Accounts, SavingsAccounts, CheckingAccounts, EconomyCheckingAccounts.
Computer Science & Information Technology
You might also like to view...
What is one reason the Auto Order option of the tab order may not work?
What will be an ideal response?
Computer Science & Information Technology
The ________ function counts the number of cells that are in the entered range and contain numeric values
A) COUNTIF B) COUNT C) COUNTA D) NOW
Computer Science & Information Technology