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) IllegalMethodArgumentExcepetion
The 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