Menu
Question Index
...

Which of the following is/are legal method declaration(s)?

1. protected abstract void m1();
2. static final void m1(){}
3. synchronized public final void m1() {}
4. private native void m1();


1 and 3
2 and 4
1 only
1, 2 and 4
All of them are legal declarations

Doubts

Problems

Topic: Advanced Java Programming Concepts

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App