adplus-dvertising
frame-decoration

Question

Which of these data type value is returned by equals() method of String class?

a.

char

b.

int

c.

boolean

d.

all of the mentioned

Posted under Java Programming

Answer: (c).boolean

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these data type value is returned by equals() method of String class?