Q61
Which one of the following functions is used to determine object type?
A.
obj_type()
B.
type()
C.
is_a()
AnswerD.
is_obj()
Answer: Option C
Solution
Answer: Option C
Solution:
The is_a() function returns true if object belongs to a class type or if it belongs to a class that is a child of that class. Or else false is returned.