Explain the difference between treeset and treemap in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can we override the main method?
What are locale settings?
Can we inherit a class with private constructor?
What is the difference between access specifiers and access modifiers in java? 16
what is diff bet iterator and enumeration?
y cant i declare method like public final static show()
What is an interoperable application in java ?
my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??
How to excute - Interface - Inner class- method can any one tell how to execute/ call this main method public interface abc { static int i=0; void dd(); class a1 { a1() { int j; System.out.println("inside"); }; public static void main(String a1[]) { System.out.println("in interfia"); } } }
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
What is the public field modifier?
What are the differences between the constructors and methods?