✏️ Explanatory Question
[String and Arrays]
Question:
Find the output of the following snippet:
void check1()
{
String x[] = {"Kolkata","Chennai","Delhi"};
String y[] = {"Kolkata","Chennai","Delhi"};
System.out.println(x.equals(y));
}
Answer:
false