Which Of The Following Isare The Right Way To Declare A Methodp #89
Which of the following is/are the right way to declare a method?</p> <pre><code class="language-text"> i) function functionName() { function body } ii) scope function functionName() { function body } iii) method methodName() { method body } iv) scope method methodName() { method body }</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP OOPs - PHP OOPs Basics - Quiz No.1.