M

Mr. Dubey • 87.94K Points
Coach

Q. What happens in a method if there is an exception thrown in a try block but there is no catch block following the try block?

  • (A) The program ignores the exception.
  • (B) The program will not compile without a complete try/catch structure.
  • (C) The program terminates immediately.
  • (D) NoSuchFileException
  • Correct Answer - Option(A)
  • Views: 95
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics