ExamVeda
Login
Home
This question belongs to PHP Object Oriented Concept
Object Oriented Concept
?

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

Answer & Solution
Correct Answer: Option A
The class functions also allow us to chart inheritance relationships.This function requires either an object or a class name, and it returns the name of the superclass, if any. If no such class exists, that is, if the class we are testing does not have a parent, then the function returns false.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.