Q. What can a method do with a checked exception?

  • (A) Check the exception or ignore it.
  • (B) Return the exception to the sender or handle it in a catch block.
  • (C) Throw the exception to the method that called this method, or handle the exception in a catch block.
  • (D) Handle the exception in the try block or handle the exception in the catch block.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Throw the exception to the method that called this method, or handle the exception in a catch block.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
212
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate