class MyJavaClass extends MyPerlClass { public void output() {System.out.println(foo() + bar());} }