Java String comparison is not working - Stack Overflow

Java String comparison is not working - Stack Overflow