0 votes
in JAVA by
Out of these exceptions, which one is thrown by the compareTo() method that is defined in a double wrapper?

1) SystemException

2) ClassCastException

3) IOException

4) CastException

1 Answer

0 votes
by

2) ClassCastException

...