Multiple choice

What of the following statements is true about NoSuchMethodException?

i. NoSuchMethodException is caused when the method cannot be called. ii. NoSuchMethodException is caused when the method does not exist. iii. NoSuchMethodException is a Checked Exception. iv. NoSuchMethodException is a Unchecked Exception.

  1. i. and iv. are true

  2. i. and iii. are true

  3. ii. and iii. are true

  4. ii. and iv. are true

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This answer is correct. NoSuchMethodException is caused when the method does not exist. NoSuchMethodException is a Checked Exception.