State whether the following statements are TRUE or FALSE.i) Class properties and methods live in separate namespaces.ii) It is possible to have a property and a method with the same name.iii) Calling an anonymous function that has been assigned to a property is directly possible.

🎲 Try a Random Question  |  Total Questions in Quiz: 19  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Practice Test: Classes And Objects In PHP — practice the complete quiz, review flashcards, or try a random question.


State whether the following statements are TRUE or FALSE.<br>i) Class properties and methods live in separate namespaces.<br>ii) It is possible to have a property and a method with the same name.<br>iii) Calling an anonymous function that has been assigned to a property is directly possible.