How do you use compareto method?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between compile-time polymorphism and runtime polymorphism?
why Java does not support multiple inheritances?
what is use of threads how many ways to create thread
What is the difference between add() and addElement() method in Vector Class ?
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
How does enum work in java?
What is the difference between menuitem and checkboxmenu item?
If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.
wht is mean by dirty read?
What is difference between path and classpath?
Difference between ?System.out.println? and ?System.error.println??