Login
Remember
Register
Ask a Question
Out of these exceptions, which one is thrown by the compareTo() method that is defined in a double wrapper?
0
votes
asked
Aug 21, 2022
in
JAVA
by
sharadyadav1986
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
exception
java
method
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 21, 2022
by
sharadyadav1986
2) ClassCastException
...