Multiple choice technology programming languages

Which one of these are JVM thrown exceptions??

  1. NullPointerException

  2. NumberFormatException

  3. ExceptionInInitializerError

  4. IllegalArgumentException

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

NullPointerException and ExceptionInInitializerError are standard exceptions thrown directly by the JVM. NumberFormatException and IllegalArgumentException are typically thrown by Java runtime library code (such as Integer.parseInt) rather than the JVM itself.