直接调用 public class T { public void aMethod(){ bMethod(); } public void bMethod(){ System.out.println("B is working"); } }