.equals() returns a boolean, you can't put it in a string.
boolean middleNamesMatch = nameTwo.equals(nameOne);
However, you're already checking this in the if statement, so this is completely...
Type: Posts; User: helloworld922
.equals() returns a boolean, you can't put it in a string.
boolean middleNamesMatch = nameTwo.equals(nameOne);
However, you're already checking this in the if statement, so this is completely...