Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

What is the output of the following code? class angryBob{ public function angryBob(){ $this->apple = 'Taken away by Bob'; } } class sillyBill extends angryBob{ var $apple; public function sillyBill() { $this->apple = 'Eaten by Bill'; parent::angryBob(); } } $Bill = new sillyBill; echo $Bill->apple;

nothing happen
Eaten by Bill
Taken away by Bob
error message because angryBob::apple not declared
Bill is very upset
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon