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
asked Aug 21, 2022 in JAVA by sharadyadav1986
0 votes
0 votes
asked May 12 in JAVA by rahuljain1
...