SE450: Packages: Compiling with Packages [4/47] |
For example, the following code declares class types.simplePackage.Main:
file:types/simplePackage/Main.java [source] [doc-public] [doc-private]
01
02
03
04
05
06
07
package types.simplePackage; public class Main { private Main() {} public static void main (String[] argv) { System.out.println("Hello Packages!"); } }
How do you compile it?