Objects First With Java - Solutions

Jun 16, 2006 ... Exercise 2.2. Zero. Exercise 2.3. If too much money is inserted the machine takes
it all - no refund. If there isn't enough money inserted, it still prints out the ticket.
Exercise 2.5. It looks the same. Only the price on the ticket is different. Exercise
2.6. The outer part of the student class: public class Student {}.

Part of the document