why do methods for the Character class such as getNumericValue and isDigit require an input of a character? isn't there already a character, the one that instantiates the Character class? i guess i just don't see why we would have to type something like (where c is a Character):
c.isDigit(c);
to check if c is a digit, intead of just typing:
c.isDigit();
am i missing something here?
thanks
c.isDigit(c);
to check if c is a digit, intead of just typing:
c.isDigit();
am i missing something here?
thanks