1718192021222324
public void aMethod(String name) { System.out.println(name); } public void foo(String name) { Dummy dummy = new Dummy(); dummy.foo(name); }