Skip to content
3 marksDifficulty: Medium

What is the difference between s1 == s2 and s1.equals(s2) for two String references?

Original Khojo Papers practice question — not from a past board paper.

Practise this chapter

Answer

Related questions

From the same topic and chapter, at a similar level.

Related questions