Which exception is thrown in Java when a class is not found at runtime while…
PYQ IBPS SO CRP SPL-XV (2025)Modified — slightly modified from the official paper; see the solution
Which exception is thrown in Java when a class is not found at runtime while loading it by name (for example, with Class.forName())?
- A.
NullPointerException
- B.
ClassNotFoundException
- C.
IOException
- D.
ArithmeticException
- E.
NoClassDefFoundError
Attempted by 34 students.
Sign up free to check your answer
Sign up freeLoading lesson…

