Computer Science, asked by sweetyvarshney420, 3 months ago

(d) Write the return data types of the following function:
(i) compareTo( )
(ii) equals()​

Answers

Answered by mohinpathan890
0

Answer:

What is the data type returned by the library functions : (i) compareTo() (ii) equals()Read more on Sarthaks.com - https://www.sarthaks.com/838011/what-is-the-data-type-returned-by-the-library-functions-i-compareto-ii-equals

Answered by RishaTiwari
0

Explanation:

(i) compare To( ) returns an int value.

(ii) equal () returns boolean value.

PLS MARK THE ANSWER AS BRAINLIEST IF IT IS HELPFUL TO YOU.....................

Similar questions