Home » MYSQL » Data Types » Question
  1. The operator used in PHP to access property of an object is ________________.
    1. @
    2. .
    3. *
    4. ->
    5. None of these
Correct Option: D

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.



Your comments will be displayed only after manual approval.