0

How to compare two string characters in java using if else statement

Help....j

23rd Jun 2020, 6:30 PM
Ojoswal Saha
4 ответов
+ 1
string1.equals(string2) or string1.equalsIgnoreCase(string2) avoid comparing "string1" == "string2" with operators
23rd Jun 2020, 6:33 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
Thanx to everyone guys.....really it helped me a lot...thanx...
24th Jun 2020, 1:35 PM
Ojoswal Saha
0
Can you give me an example?
23rd Jun 2020, 6:32 PM
ycsvenom
ycsvenom - avatar