I am new to Java and just downloaded Eclipse and wrote my first Hello World program
import java.util.Scanner;
public class HelloWorld {
public static void main(String[] args) {
Scanner myObj = new Scanner(System.in);
System.out.println("Whats your name?");
String userName = myObj.nextLine();
myObj.close();
System.out.println("Hello " + userName);
}
}
I was wondering what the storage location of the package java.util is? Where is this package stored on my computer? I use Mac.