Java Programming - Declarations and Access Control - Discussion
Discussion Forum : Declarations and Access Control - General Questions (Q.No. 7)
7.
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();
Answer: Option
Explanation:
All the given statements are legal declarations.
Discussion:
14 comments Page 2 of 2.
Rocks said:
1 decade ago
What is the working of synchronize and native?
Sush said:
1 decade ago
Please anyone explain it?
Vinu said:
1 decade ago
Can any one explain ?
Sainath said:
1 decade ago
Can you explain it in detail?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers