1 2 3 4 5 6 7
public class A { S s = new S(); public void method() { System.out.println("A.method() running"); s.m1(); } }