adplus-dvertising
frame-decoration

Question

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

a.

get_parent_class()

b.

parent_class()

c.

class_parent()

d.

get_class_parent()

Posted under PHP

Answer: (a).get_parent_class()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Which class accepts a class name or an object reference and returns an array of interface name?

Q. Object-oriented code tries to minimize dependencies by moving responsibility for handling tasks away from ___ and toward the objects in the system.

Q. Placing a static method for generating ___ objects in the ___ class is convenient.

Q. The extent to which proximate procedures are related to one another is known as…

Q. ______ occurs when discrete parts of a system’s code are tightly bound up with one another so that a change in one part necessitates changes in the others.

Q. ________ code makes change easier because the impact of altering an implementation will be localized to the component being altered.

Q. Polymorphism is also known as______

Q. Which one of the following is known as the key to object-oriented programming ?

Q. Which one among the following means tight coupling ?

Q. UML stands for?

Q. In a class diagram the class is divided into three sections, what is displayed in the first section?

Q. ___ are used in class diagrams to describe the way in which specific elements should be used.

Q. Which one of the following is displayed below the class name in the class diagrams?

Q. + is the visibility code for?

Q. Which relationship is illustrated by a line that begins with an unfilled diamond?

Q. If the diamond is filled it depicts which relationship?

Q. Which one of the following statements is true about sequence diagrams?

Q. A bidirectional relationship in class diagrams is described by________

Q. # is the visibility code for?

Q. Which one of the following is displayed in the third section of the class diagram?