A checked Exception is checked by - ANSWER-the Java compiler
.A java interface contains only - ANSWER-abstract method headings
and public final fields
.A subclass does not have access to these superclass members -
ANSWER-Private
.All classes directly or indirectly inherit from - ANSWER-object class
.All static class members must be declared with what access -
ANSWER-Public
.Any object that can be thrown as an Exception must inherit from this
class - ANSWER-Throwable
.How man interfaces can another class implement - ANSWER-as many
as needed
.How many classes can a given class extend - ANSWER-one
, .In a subcass constructor, a call to the superclass constructor must -
ANSWER-Appear as the very first statement
.In an inheritance relationship, this is the general class - ANSWER-
Superclass
.List the exceptions in the order they should be caught - ANSWER-
FileNotFoundException, IOException, Exception
.One or more statements that are always executed after the try block
has executed and after any catch blocks if exception was thrown -
ANSWER-finally block
.T/F: A class may extend at most one superclass - ANSWER-True
.T/F: A class may implement at most one interface - ANSWER-False
.T/F: A programmer can code only one thrown exception in a try block
- ANSWER-False
.T/F: A superclass constructor always executes before the subclass
constructor - ANSWER-True