PHP - Classes and Objects
What will be the output of the following PHP code?
class Sample {
private $value = 10;
public function getValue() {
return $this->value;
}
}
$obj = new Sample();
echo $obj->getValue();