Q:

Which one of the following function should I use to find the parent class of a class?

belongs to collection: OBJECT TOOLS AND VARIABLES IN PHP MCQ

0

Which one of the following function should I use to find the parent class of a class?


  1. get_parent_class()
  2. parent_class()
  3. class_parent()
  4. get_class_parent()

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).get_parent_class()

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT TOOLS AND VARIABLES IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which class accepts a class name or an object refe... >>
<< What will be the output if a protected method is g...