Skip to content
Sharp

Core Java · interview question

Which statement best describes exception propagation in Java?

Multiple choiceMediumchapter-6-curatedpremiumcore-javacode-reading-with-exceptions
Choose one answer
Answer and explanation

Correct answer

D. Exceptions are propagated up the call stack until caught or the program terminates.

Why

In Java, when an exception occurs and is not caught in the method where it is thrown, it propagates up the call stack until it is caught by an appropriate catch block or the program terminates.

Test yourself on Core Java

A free test with instant, explained results. No account needed.

Start free test
All Core Java questions →