Why can’t a string’s compareTo method be overridden?
Correct Answer: The String class is final, therefore its methods can’t be overridden.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions