

MCQOPTIONS
Saved Bookmarks
1. |
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 } |
A. | nly2 |
B. | nly 4 |
C. | and 2 |
D. | and 4 |
Answer» D. and 4 | |