1 public class PackageDotExpressions { main(String[] args)2 public static void main(String[] args) { 3 // Method call from package prefix 4 com.packageName.ClassInPackage.staticMethod(); 5 6 // Static method calls inside inner classes with package prefix 7 com.packageName.InnerClassContainer.InnerClass.methodCall(); 8 com.packageName.InnerClassContainer.InnerClass.InnerInnerClass.innerMethodCall(); 9 com.packageName.InnerClassContainer.InnerClass.InnerInnerClass.InnerInnerInnerClass.innerInnerMethodCall(); 10 11 // Method calls from field objects with package prefix 12 com.packageName.InnerClassFieldContainer.outerField.containerField.containerField.firstContainerMethod(); 13 com.packageName.InnerClassFieldContainer.InnerClass.innerField.containerField.containerField.secondContainerMethod(); 14 com.packageName.InnerClassFieldContainer.InnerClass.InnerInnerClass.InnerInnerInnerClass.innerInnerInnerField.thirdContainerMethod(); 15 } 16 } 17