Q&A ICSE2014-03F #7406
Question:
What is the data type returned by the library functions:
(i) compareTo()
(ii) equals()
Answer:
(i) int
(ii) boolean
What is the data type returned by the library functions:
(i) compareTo()
(ii) equals()
(i) int
(ii) boolean