MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is/are the right way to declare a method? |
| A. | function functionName() { function body } |
| B. | scope function functionName() { function body } |
| C. | method methodName() { method body } |
| D. | scope method methodName() { method body } |
| Answer» D. scope method methodName() { method body } | |