MyPackageClass.java
 

package mypack;

class MyPackageClass { 
  public static void main(String[] args) { 
    System.out.println("This is my package!"); 
  } 
}

Result:
This is my package!