How do you use compareto method?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the difference between compile-time polymorphism and runtime polymorphism?

0 Answers  


why Java does not support multiple inheritances?

0 Answers   Aspire,


what is use of threads how many ways to create thread

3 Answers   iTrust, Verizon,


What is the difference between add() and addElement() method in Vector Class ?

2 Answers   TCS,


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 .

3 Answers  






What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

0 Answers  


How does enum work in java?

0 Answers  


What is the difference between menuitem and checkboxmenu item?

0 Answers  


If there is no implementation of MARKER INTERFACE in java. Then how compiler come to know about specification.

2 Answers  


wht is mean by dirty read?

1 Answers  


What is difference between path and classpath?

0 Answers  


Difference between ?System.out.println? and ?System.error.println??

8 Answers   Sai Softech,


Categories