switch (cStoreInput)
{
case ' ': System.out.println(isInputValid(getInput… break;
case '(': break;
case '{': break;
case '=': break;
case '[': break;
case ')': break;
case '}': break;
case ']': break;
}
in cmd, it says
true
false
Im pretty sure it should return true, but why is there a false? I only called that boolean function once.
btw, all of my functions are in static.
{
case ' ': System.out.println(isInputValid(getInput… break;
case '(': break;
case '{': break;
case '=': break;
case '[': break;
case ')': break;
case '}': break;
case ']': break;
}
in cmd, it says
true
false
Im pretty sure it should return true, but why is there a false? I only called that boolean function once.
btw, all of my functions are in static.