Menu
hello,
I have a class called [B]Object[B]Person extends Object
in the base class i want to use members (properties) which can be used in the Person class
[code=php]class Object {
protected $_number1;
private $_number2;
{
class Person extends Object{
public function __construct($n1,$n2){
$this->_number1 = $n1;
$this->_number2 = $n2;
}
}
properies number1 and number2 are both accessible!! so what is difference?
Thank u
kind regards