Why am i getting a return of both true and false on a boolean at the same time?

Kenn

New member
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.
 
Back
Top