in reply to Noob OO Question

Can anyone help me with this? I seem to be missing something to get $test->method_d() to have the correct output and not give me CODE(XXXX).