Which statement tells the correct difference between Exception and Error?

92. Which statement tells the correct difference between Exception and Error?

  1. An exception cannot be recovered. Errors can be recovered.
  2. An exception can be recovered. Errors cannot be recovered.

Answer: B) An exception can be recovered. Errors cannot be recovered.

Explanation:

Exceptions can be recovered by try-catch blocks, Errors cannot be recovered.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.