1 package other; 2 3 public class Blort { 4 private int privateField; 5 /*package*/ int packageField; 6 protected int protectedField; 7 public int publicField; 8 privateMethod()9 private void privateMethod() { 10 // This space intentionally left blank. 11 } 12 packageMethod()13 /*package*/ void packageMethod() { 14 // This space intentionally left blank. 15 } 16 protectedMethod()17 protected void protectedMethod() { 18 // This space intentionally left blank. 19 } 20 publicMethod()21 public void publicMethod() { 22 // This space intentionally left blank. 23 } 24 } 25