J2SE Question:

Download Job Interview Questions and Answers PDF

What is try?

J2SE Interview Question
J2SE Interview Question

Answer:

A Java keyword that defines a block of statements that may throw a Java language exception. If an exception is thrown, an optional catch block can handle specific exceptions thrown within the try block. Also, an optional finally block will be executed regardless of whether an exception is thrown or not.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is URN?What is transaction isolation level?