|
-
Having a simple issue with the Scanner class...
Hi, doing a homework assignment in a intro to Java class, some reason the scanner class is giving me problems, I am typing the code as it appears in the text and getting the following error output. I am using vi to do the coding.
thanks for any help in advance.
Temperature.java:1: cannot resolve symbol
symbol : class Scanner
location: package util
import java.util.Scanner;
^
Temperature.java:13: cannot resolve symbol
symbol : class Scanner
location: class Temperature
Scanner scan = new Scanner (System.in);
Similar Threads
-
Replies: 5
Last Post: 02-23-2005, 12:13 AM
-
Replies: 3
Last Post: 02-14-2005, 06:48 AM
-
By Ian Diaz in forum .NET
Replies: 1
Last Post: 08-31-2002, 11:50 AM
-
Replies: 205
Last Post: 09-26-2001, 01:37 PM
-
By Patrick Ireland in forum .NET
Replies: 3
Last Post: 04-26-2001, 02:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks