0 LIKES LikeUnLike
Which of the following statement checks that the value of 2 Strings, string1 and string2 are the same?a) if (string1 == string2)b) if (string1 = string2)c) if (string1.equals (string2))d) if (string1.isEqual (string2))My answer is c)... But a) is also considered correct? ohya, about d)... if it's if(string1.isEqualTo (string2)), is it correct?
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 5 answers.