This preview shows page 1. Sign up to view the full content.
Unformatted text preview: color and gear. -The constructor Parc (int size) should contain NegativeArraySizeException. -the method hasManualGear(): Boolean should contain throwing to a general exception and the main should catch it and print error message if the gear attribute contain values other than manual or auto....
View Full Document
This note was uploaded on 08/18/2011 for the course COMPUTER S CSC 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.
- Spring '11
- Java Programming