Hello,
If I try to use that code my Jcreator gives an error that he can't find the method.. not sure what the problem is, can someone show me how I have to implement it inside my existing program? I hoped to find it myself but I keep failing in it.
I hope someone can help me with it cause I need to drop it at the lector's site on Monday :x
Kind regards,
Jri
User Profile
Collapse
-
Hey,
I have read the API about Scanner but I'm not able to find the problem inside my program. Could you help me out with what I have to adjust?
RegardsLeave a comment:
-
Problem Exception in thread "main" java.util.InputMismatchException
Hello,
I got an assignement for school where I have to make a game with matches.
This is what I got:
[code=java]
import javax.swing.JOp tionPane;
import java.util.Scann er;
public class Lucifer
{
int aantalLucifers, beurtSpelerEen, beurtSpelerTwee ;
int ingaveSpel;
Scanner input = new Scanner (System.in);
String next ="nee";...
No activity results to display
Show More
Leave a comment: