200-710 Exam QuestionsBrowse all questions from this exam

200-710 Exam - Question 8


Which methods can be used to overload object properties? (Choose two.)

Show Answer
Correct Answer: BE

The methods '__set()' and '__get()' can be used to overload object properties in object-oriented programming by allowing the interception of setting and getting properties dynamically. Additionally, '__isset()' and '__unset()' methods can also be used for overloading to handle the setting of properties' existence and their removal. These methods provide a way to define custom behavior for property manipulation, which aligns with the question's focus on overloading object properties management.

Discussion

1 comment
Sign in to comment
jslemelinOptions: AB
Mar 11, 2020

_isset() lacks one underscore.