Multiple choice
(Not rated)
(Not rated)
1. When a variable is declared within a method, it ceases to exist when the method ends.
A) True
B) False
2. An instance method or constructor may be overloaded by providing the same name and ____ argument list.
A) a different
B) the same
C) a larger
D) a smaller
3. A ____ is a segment of code that can handle an exception that might be thrown by the try block that precedes it.
A) catch method
B) throw block
C) catch block
D) throw statement
4. When appropriate, specialized ____ classes provide an elegant way for you to handle error situations.
A) Exception
B) Error
C) Constructor
D) Event
12 years ago
A+ Answers
NOT RATED
Purchase the answer to view it
- 43.docx