Hi,<br>
<br>
I am a sophmore at college in about my second week of java programming. I have a lab that is due on Monday and I am having some trouble with the class program my professor gave to me to use for this lab.<br>
<br>
When I try to compile his class (which is a class that enables me to get info from the user) I get the following errors:<br>
<br>
souin.java:379: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:495: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:498: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (!(Character.isWhitespace(next)))<br><br>
^<br>
<br>
Ok well obviously my professor has made some kind of mistake in his coding here but being as it is only my second week I have absolutly no idea how to fix it. I am on the verge of a panic here and I was desperately hoping someone on this board could help me... If there is anything else you need to know in order to help me please let me know. <br>
<br>
Thank you in advance for any advice you might offer.<br>
<br>
Aleena
<br>
I am a sophmore at college in about my second week of java programming. I have a lab that is due on Monday and I am having some trouble with the class program my professor gave to me to use for this lab.<br>
<br>
When I try to compile his class (which is a class that enables me to get info from the user) I get the following errors:<br>
<br>
souin.java:379: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:495: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (Character.isWhitespace(next))<br><br>
^<br><br>
souin.java:498: Method isWhitespace(char) not found in class java.lang.Character.<br><br>
while (!(Character.isWhitespace(next)))<br><br>
^<br>
<br>
Ok well obviously my professor has made some kind of mistake in his coding here but being as it is only my second week I have absolutly no idea how to fix it. I am on the verge of a panic here and I was desperately hoping someone on this board could help me... If there is anything else you need to know in order to help me please let me know. <br>
<br>
Thank you in advance for any advice you might offer.<br>
<br>
Aleena