Why are exceptions expensive in Java?

1 answers

The most expensive part of the exceptions is the stacktrace that is created when the Exception is constructed.

shilpigupta22 shilpigupta22 [Author] 4 months ago votes 0