Answers

Question and Answer:

  Home  J2SE

⟩ What is try?

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.

 133 views

More Questions for you: