52.
Which one of the following is the right way to define a constant?

55.
Which of the following is/are the right way to declare a method?
1. function functionName() { function body }
2. scope function functionName() { function body }
3. method methodName() { method body }
4. scope method methodName() { method body }

56.
Which of the following method scopes is/are not supported by PHP?
1. private
2. final
3. static
4 abstract

58.
Which of the following statements is/are true about Constructors in PHP?
1. PHP 4 introduced class constructors.
2. Constructors can accept parameters.
3. Constructors can call class methods or other functions.
4. Class constructors can call on other constructors.

59.
PHP recognizes constructors by the name_________

60.
Which version of PHP introduced the instanceof keyword?

Read More Section(Object Oriented Concept)

Each Section contains maximum 100 MCQs question on Object Oriented Concept. To get more questions visit other sections.