QuesAns Print Page – CSKC
Sign In

Search

siteicon
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