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()
Correct Answer: get_class()
This function accepts any object as an argument and returns its class name as a string.