Okay, now I understand.
Thank you for taking the time.
Search found 3 matches
- Sun Dec 09, 2007 8:40 am
- Forum: Java
- Topic: Code with using util.Scanner.nextInt() complies but not run
- Replies: 4
- Views: 1672
- Sun Dec 09, 2007 12:15 am
- Forum: Java
- Topic: Code with using util.Scanner.nextInt() complies but not run
- Replies: 4
- Views: 1672
- Fri Dec 07, 2007 11:47 pm
- Forum: Java
- Topic: Code with using util.Scanner.nextInt() complies but not run
- Replies: 4
- Views: 1672
Code with using util.Scanner.nextInt() complies but not run
Hi:
I have Java6 intalled.
Using TextPad, I can compile code with java.util.Scanner.nextInt() in it, however, when I try to run the code it error out every time.
The code is:
import java.util.Scanner;
public class ScannerApp
{
static Scanner sc = new Scanner(System.in);
public static void main ...
I have Java6 intalled.
Using TextPad, I can compile code with java.util.Scanner.nextInt() in it, however, when I try to run the code it error out every time.
The code is:
import java.util.Scanner;
public class ScannerApp
{
static Scanner sc = new Scanner(System.in);
public static void main ...