what is the difference between HashMap And HashTable?

Answer Posted / guest

HashMap is a nonsyncronized and HashTable is a
syncronized.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you change array size in java?

536


How does a cookie work in Servlets?

355


What is the abstraction?

596


Explain how can you debug the Java code?

592


What is an iterator interface in java programming?

541






How do you decide when to use arraylist and linkedlist?

538


What is ‘has a’’ relationship in java?

726


How many types of constructors are used in java?

543


What is the difference between multiple processes and multiple threads?

577


When a byte datatype is used?

571


Can you give names of Container classes?

1862


Which is bigger float or double java?

528


Name component subclasses that support painting in java programming?

639


Which package is imported by default?

637


Can we use static class instead of singleton?

582