MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following is/are legal method declarations? a. protected abstract void m1(); b. static final void m1(){} c. synchronized public final void m1() {} d. private native void m1(); |
| A. | 1 and 3 |
| B. | 2 and 4 |
| C. | 1 only |
| D. | All of them are legal declarations. |
| Answer» E. | |