

MCQOPTIONS
Saved Bookmarks
1. |
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 } |
A. | Only ii) |
B. | Only iv) |
C. | I) and ii) |
D. | Iii) and iv) |
Answer» D. Iii) and iv) | |