Java Exceptions - Statistics

General Stats
  • This quiz has been taken 34 times
  • The average score is 4 of 15
Answer Stats
Package Thrown When... Exception % Correct
java.lang You try to access a property of a null object. NullPointerException
87%
java.lang You try to load a class by its name, but the class doesn't exist. ClassNotFoundException
68%
java.lang You try to divide by zero. ArithmeticException
61%
java.io You try to take input from a file that doesn't exist. FileNotFoundException
42%
java.lang You try to access the 5th value in a data structure with only 4 values. IndexOutOfBoundsException
39%
java.lang The security manager gets mad at you. SecurityException
19%
java.time Java fails to generate a date and time. DateTimeException
13%
java.lang You attempt to find the numerical value of this hint. NumberFormatException
13%
java.lang You try to add an array and a map together. UnsupportedOperationException
13%
java.util You try to pop a value off an empty stack. EmptyStackException
6%
java.awt Abstract Window Toolkit doesn't like you. AWTException
3%
java.sql You try to divide by zero, but you're using SQL. SQLDataException
3%
java.net You don't have an internet connection. HttpTimeoutException
0%
java.util You try to use an Amreican locale. IllformedLocaleException
0%
java.util You fail to read data from a JAR file. JarException
0%
No matching quizzes found
Score Distribution
Percent of People with Each Score
Percentile by Number Answered
Your Score History
You have not taken this quiz