Search found 3 matches

by mals@nash-inc.com
Sun Dec 09, 2007 8:40 am
Forum: Java
Topic: Code with using util.Scanner.nextInt() complies but not run
Replies: 4
Views: 1374

Okay, now I understand.
Thank you for taking the time.
by mals@nash-inc.com
Sun Dec 09, 2007 12:15 am
Forum: Java
Topic: Code with using util.Scanner.nextInt() complies but not run
Replies: 4
Views: 1374

MudGuard:

That sucks!!! Are you saying I shouldn't run Java programs from TextPad?

I can run kinds of java programs from TextPad. Just that, at this moment, I can't run any type of a program that has java.util.Scanner.nextInt() in the code.
by mals@nash-inc.com
Fri Dec 07, 2007 11:47 pm
Forum: Java
Topic: Code with using util.Scanner.nextInt() complies but not run
Replies: 4
Views: 1374

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 ...