u can use .equals operator to equal the two strings
== operator not working properly in the case of string
you write if(str2.equals(str3))