Objects First With Java - Solutions

Jun 16, 2006 ... Exercise 2.35. They display different prices. This is because each ticketmachine object has its own price. The price that was set in one ticketmachine does not affect the other ticketmachines price. Exercise 2.36. Instead of printing out the actual price of the ticket, it just displays the word "price". Exercise 2.37


part of the document



....