Examlex

Solved

Regarding the Invoice-Printing Application from Section 12

question 6

Multiple Choice

Regarding the invoice-printing application from section 12.3, it is decided that a Customer class is needed to store customer information, including the name, billing address, and a customer id number to be printed at the top of each invoice.Since the existing Address class already stores the customer's name and physical address, the new Customer class can simply reuse Address.Select the code segment that best illustrates how the Customer class can reuse the existing Address class.


Regarding the invoice-printing application from section 12.3, it is decided that a Customer class is needed to store customer information, including the name, billing address, and a customer id number to be printed at the top of each invoice.Since the existing Address class already stores the customer's name and physical address, the new Customer class can simply reuse Address.Select the code segment that best illustrates how the Customer class can reuse the existing Address class.        A)    B)    C)    D)


Definitions:

Related Questions