Examveda
Examveda

Which one of the following will you use to check the class of an object?

A. class()

B. _class()

C. class_check()

D. get_class()

Answer: Option D

Solution(By Examveda Team)

This function accepts any object as an argument and returns its class name as a string.

This Question Belongs to PHP >> Object Oriented Concept

Join The Discussion

Related Questions on Object Oriented Concept