Which of these exceptions is thrown by compareTo() method defined in double
wrapper?
compareTo() methods compare the specified object to be double, if it is not then
ClassCastException is thrown.
Share this page with your friends!
Your email address will not be published. Required fields are marked *
Please Create a Free Account to continue! If you already have an account then please Login
Submit Comment/FeedBack