1
//to check if numeric
    public boolean checkNumeric(String user_input)
    {
        for( ; x <= user_input.length() ; x++ )
        {
            if(!Char.isDigit(user_input.charAt(x)))
            {
                return flag;
            }
        }
    
        return noError;
    }

it says: cannot find symbol variable- char
Help please.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by BestJewSinceJC
0

There is no class called "Char". And you gave us the wrong error message, I'm pretty sure your compiler said "cannot find symbol - Char"

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.