Here is the email explaining the outlab due this week:
To all CS160 students:
In class today I announced the outlab would be postponed until the next
Tuesday. So this Tuesday there is no Outlab due. It will be due the
next Tuesday February 8, along with another small assignment so you might
as well get it done as soon as possible.
The reason I postponed the assignment was the Scanner class example in the
book was not working. On page 75 there is an example of taking user input
from a keyboard. The book example has:
Scanner stdin = Scanner.create(System.in);
It's line 17 in the example code. This causes an error when compiling.
So I looked up the Scanner class in the API and I noticed there was no
create() method. You should be doing this when you get an error like this.
If you replace the line above with the following line the example will
work:
Scanner stdin = new Scanner(System.in);
Homework is still assigned, it's just due a week later. Plus there will be
another assignment due also so get it done early.
We're moving on to other stuff so make sure you can do this outlab as
soon as possible.
Hunter
If you didn't get this email you need to make sure you have the correct email account registered with the University in your MYINFO area of the MSU web site.