1.

Which of these exceptions handles the situations when an illegal argument is used to invoke a method?(a) IllegalException(b) Argument Exception(c) IllegalArgumentException(d) IllegalMethodArgumentExcepetionThe question was posed to me in my homework.My doubt stems from Java’s Built in Exceptions in chapter Exploring java.lang & java.io of Java

Answer» RIGHT answer is (c) IllegalArgumentException

The BEST EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions