CIS 407 Midterm Exam (All Possible Questions) (2) CIS 407 Midterm Exam (All Possible Questions) (2) | Page 2

6) You use the keyword to achieve inheritance in java. 7) ___ method is useful in debugging a program because it can be used to display and examine values. 8) If java did not allow you to ___ classes, you would need to create every part of a program from scratch. 9) When a class both extends and implements, by convention the clause is layst in the class header. 10) When you define a class, if you do not explicitly extend another class, your class in an extension of the ___class. 11) If you attempt to instantiate an object from an abstract class, you receive an error message from the compiler that you have committed a(n)___. 12) ___Compress the data they store, Which reduces the size of archived class files.Selected Answer: 13) In the case where a method might throw more than one exception type, you specify a list of potential exceptions in the method header by separating them with___. 14) When you use a(n)___ statement, you state a condition that should be true, and Jave throws an Assertion Error when it is not.