MCQs > IT & Programming > Java > Which is the most reliable expression for testing whether the values of two string variables are the same?

Java MCQs

Which is the most reliable expression for testing whether the values of two string variables are the same?

Answer

Correct Answer: String1.equals(string2)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Java Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it