Home / Questions / What is the data type returned by the library functions : compareTo() equals()
Explanatory Question

What is the data type returned by the library functions :

  1. compareTo()
  2. equals()

👁 72 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

  1. int
  2. boolean