No problem, however string literals aren't chars.
pathInfo[row][column] is a string, but '*' is a char, so you are comparing a String to a char, which I'm surprised compiles.
Double quotes(")...
Type: Posts; User: Tjstretch
No problem, however string literals aren't chars.
pathInfo[row][column] is a string, but '*' is a char, so you are comparing a String to a char, which I'm surprised compiles.
Double quotes(")...
An extension of what ppme said:
When comparing two string literals, it is best to use the .equals() method to compare if each char is the same, rather than the == comparison operator that will...