My hubby came across this programming example from Wikipedia. It reminded us of Carly.
class Cat {
function Meow()
{
____echo 'Meow' ;
}
function Snuggle()
{
____echo 'Purr' ;
}
function Eat()
{
____$this->meow() ;
____$this->meow() ;
____$this->meow() ;
____echo 'I begged until I got food, now I am eating' ;
}
function Sleep()
{
____echo 'Curling up on cat bed' ;
}
}
class Cat {
function Meow()
{
____echo 'Meow' ;
}
function Snuggle()
{
____echo 'Purr' ;
}
function Eat()
{
____$this->meow() ;
____$this->meow() ;
____$this->meow() ;
____echo 'I begged until I got food, now I am eating' ;
}
function Sleep()
{
____echo 'Curling up on cat bed' ;
}
}