πŸ“Š PHP
Q. Which of the following built-in functions is used to determine object type?
  • (A) is_a()
  • (B) type()
  • (C) obj_type()
  • (D) is_obj()
πŸ’¬ Discuss
βœ… Correct Answer: (A) is_a()

Explanation: The built-in function is_a() returns true if the 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.

Explanation by: Team MCQ Buddy
The built-in function is_a() returns true if the 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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
96%
Success Rate