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
- Spring '11
- Java Programming, King Saud University, Department of Computer Science, College of Computer and Information Systems