When comparing strings you NEED to use the "equals" method instead of "==".
The == operator can only be used for primitive data (int, float, char, etc)
Type: Posts; User: Cornix
When comparing strings you NEED to use the "equals" method instead of "==".
The == operator can only be used for primitive data (int, float, char, etc)