1.

Which of these method of String class can be used to test to strings for equality?(a) isequal()(b) isequals()(c) equal()(d) equals()I have been asked this question in an online interview.My enquiry is from String Class topic in chapter Classes and Methods of Java

Answer» CORRECT CHOICE is (d) EQUALS()

EASY EXPLANATION: None.


Discussion

No Comment Found

Related InterviewSolutions