Run »
msg1(); echo "
"; $obj2 = new Welcome2(); $obj2->msg1(); $obj2->msg2(); ?>
OOP is fun!
OOP is fun! OOP reduces code duplication!