This is the question asked in Katy siera 1.5.
Chapter 5 question no 16.
Which are most typically thrown by an API developer or an application developer as opposed
to being thrown by the JVM? (Choose all that apply.)
A. ClassCastException
B.
IllegalStateException
C. NumberFormatException
D. IllegalArgumentException
E. ExceptionInInitializerError
the answer they had given is B,C,D
my doubt is C. NumberFormatException is the exception thrown by JVM means in runtime. how come the answer is true. pleaes clarify me is NumberFormatException is runtime exception or compile time exception.