Question: What is the result of this code?

  1. It will show a stack trace with a runtime exception.
  2. "java.lang.Exception"
  3. It will run and throw an exception.
  4. It will not compile.

Answer: The correct answer of the above question is Option B:"java.lang.Exception"