+ 1
What's the equals method?
Please.
2 ответов
+ 5
you can compare two strings for example
String number = "one";
String secondNumber ="o";
secondNumber += "ne";
if (number.equals(secondNumber)){
System.out.println("match gound");
}
0
Thanks
Please.