|
i don understand this error
Hi guys please help me slove this problem =D
this is my half way yet to complete code but i already got some error
import java.util.Scanner;
public class PersonApp{
public static void main(String args[]){
String name, Gender, icNo;
Integer DOB;
Scanner input = new Scanner(System.in);
System.out.print("Enter your name :");
name = input.nextstring ();
System.out.print("Enter your date of birth (dd/mm/yyyy) :");
DOB = input.nextInt ();
System.out.print("Enter your gender :");
Gender = input.nextString ();
System.out.print("Enter your IC number :");
icNo=input.nextInt ();
}//Main
}//class
This is the error i got

__________________
I LOVE JAVA!
|