Hi,

i have the following classes:
class A
{
  public function EchoMe($txt)
  {
    echo $txt;
  }
}

class B extends A
{
  ...
}

in theory i can write something like that:

$b = new B();
$b->EchoMe("test");

and i should get echo "test" on screen.
am i correct ?

-- 
Alain
------------------------------------
Windows XP SP3
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008

Reply via email to