MultipleChoice
James is a Java developer working INFR INC. He has written Java code to open a file, read it line by line and display its content in the text editor. He wants to ensure that any unhandled exception raised by the code should automatically close the opened file stream. Which option best exception handling block should he use for the above purpose?
OptionsMultipleChoice
A developer has written the following line of code to handle and maintain session in the application. What did he do in the below scenario?
