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

Related questions

0 votes
0 votes
asked Apr 13, 2023 in JAVA by Robin
0 votes
asked Dec 1, 2022 in JavaScript by john ganales
...