java - Importing a scanner class in a method -


I have this work at school, where I have to import a scanner and write a method. What am i doing wrong

  public static zero main (string [] args) {applicationDate (); } Public static void application date () {scanner input = new scanner (System.in); System.out.println ("Which day of the month did you apply?"); Int day = input.nextInt (); System.out.println ("What is the name of the month you applied?"); String month = input NXtine (); System.out.println ("Which year did you apply?"); Int year = input.nextInt (); System.out.print ("Your Application Date" +++ EX20.java27: I can not find the symbol   

Remove the comma and double it between double quotes like .

  System.out.print ("Your application's date is" + month + "," + year + "!);  

Comments