Next Oct 31 Previous
Happy Happy Joy Joy
Take this nonsense program:
<?php $fun = new Fun(); $lol = 2 * $fun->happy() + 2 * fun->joy(); ?>
When you discuss this program with a colleague you will refer to $fun
as:
A: a class
B: an instance
C: an object
D: Yeah right, I'm off to see my favorite cartoon show.