1 public class Bar { 2 private static void staticMethod() { } 3 public void method() { } 4 protected Bar() { } 5 }