InterviewSolution
Saved Bookmarks
| 1. |
The operator used in PHP to access property of an object is ________________(a) .(b) *(c) ->(d) @This question was addressed to me during a job interview.I want to ask this question from Numeric Data Types topic in chapter Data Type Reference, Operators and Functions of MySQL |
|
Answer» CORRECT choice is (c) -> Explanation: If $a REPRESENTS an object, the properties it has can be accessed as $a->property-name. For INSTANCE, $a->white, $a->BLACK, $a->blue, $a->red can be the properties of $a and accessed in this way. |
|