Sail E0 Webinar
Question
Which one of the following functions is used to determine object type?
Options:
A .  obj_type()
B .  type()
C .  is_a()
D .  is_obj()
Answer: Option C


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers