MCQ Practice
Single Best Answer
Topic: Object Oriented Concept of PHP
Q
Which of the following is/are the right way to declare a method?
(i) function functionName() { function body }
(ii) scope function functionName() { function body }
(iii) method methodName() { method body }
(iv) scope method methodName() { method body }
Subchapter
Object Oriented Concept of PHP
Action
Choose one option below