Which collection is ordered in java?



Which collection is ordered in java?..

Answer / Sanober Qadri

Sorted collections like TreeSet, TreeMap, and ArrayList (when sorted with Collections.sort()) are ordered in Java.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is instance synchronization?

1 Answers  


How to reduce flicking in animation?

3 Answers   TCS,


What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?

1 Answers   Bravura Solutions,


Why doesn't the java library use a randomized version of quicksort?

1 Answers  


What happens if constructor is private?

1 Answers  


Is null a string?

1 Answers  


What are three ways in which a thread can enter the waiting state in java programming?

1 Answers  


How many types of operators are there?

1 Answers  


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1 Answers   Google,


What is the static variable?

1 Answers  


What are basic keywords?

1 Answers  


Which class should you use to obtain design information about an object in java programming?

1 Answers  


Categories