Review for Quiz 5

One-page version suitable for printing.

Question 5-1

When you pass a Customer object (of the class you defined in Lab 5) to the println class method in the IO class, it will print a nonsensical message. How could you modify the Customer class so that it displays the customer's name instead?

Solution

Question 5-2

What does a .class file contain?

Solution