Quiz

Question 1 of 5. 0 correct, 0 incorrect.

Java's sort detects an inconsistent comparator and throws with the message "Comparison method violates its general contract!". Name the exception class.