Start New Discussion within our Software Development Community

Hey guys, im new to programming, just took my first course in university. I'm currently trying to program a calculator that does multiplication, but its giving me this error:
C:\Users\Karim\Documents\Karim.java:9: error: package Java.util does not exist
import Java.util.Scanner;

And ofcourse followed by a few other related errors. Anyone know how to fix it? :(

import Java.util.Scanner;
public class Karim {

    public Karim() {


        Scanner input = new Scanner(system.in);
            int a = 0;
            int b = 0;
            int product = 1;

        System.out.println("Please enter first number");
            a = input.nextInt();

        System.out.println("Please enter second number");
            b = input.nextInt();

        product = a*b;

        System.out.println("The product is: " + product);      
    }


}

don't know if it's actually solved, (marked as such but without an actual answer ... )
package names start with lowercases
java.util.Scanner;
not
Java.util.Scanner;

This question has already been answered. Start a new discussion instead.