#157 Which of the following statements are true?
(1) A call to a method that throws an exception must always be enclosed in a try/catch block
(2) variables created within a try or catch block will be local to that block
(3) A try statement must always be matched with a catch statement
(4) A finally block may not contain try/catch statements
(4) A finally block may not contain try/catch statements I chose option 2 only.
Answer says 4 too.
Source: "Giri Mandarika" (Link available in JavaRanch)
Please suggest!
Regards,
cmbhatt
[ April 21, 2007: Message edited by: Chandra Bhatt ]