1.

Which of the following is/are legal method declarations? protected abstract void m1(); static final void m1(){} synchronized public final void m1() {} private native void m1();

A. 1 and 3
B. 2 and 4
C. 1 only
D. All of them are legal declarations.
Answer» E.


Discussion

No Comment Found