You are trying to compare a string with the compare method of two integers , if you had like:
int A =1 ;
int B=2;
here you can use if(A==B)
return true;
However when...