Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Collections Framework
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Pintu Ranjan Sai
Collections Framework
1 Answer(s)      3 years and 2 months ago
Posted in : Java Beginners


Sir, We know that both HashMap & Hashtable is using for same purposes i.e Used for storing keys-values pair. But there is some difference between this two class that are 1)Hashtable is synchronized but HashMap not. 2)Hashtable doesn't contain null but HashMap can. My question is why Hashtable does not contain null? Give me some sufficient points so i can understand properly.


Advertisement
View Answers

August 5, 2011 at 12:15 PM


Because hashtable is synchronized.



Related Tutorials/Questions & Answers:
Collections Framework
Collections Framework  Sir, We know that both HashMap & Hashtable is using for same purposes i.e Used for storing keys-values pair. But there is some difference between this two class that are 1)Hashtable is synchronized
Introduction to Collections Framework
Introduction to Collections Framework       Collections Framework: The Collections... and manipulating the groups of data into a single unit. The collections framework
Advertisements
Collections Framework
The Collections Framework provides a well-designed set of interfaces.... The collections framework is a unified architecture which is used to represent and manipulate collections. The framework allows the collections to get manipulated
Collections Framework
Collections Framework       Java provides the Collections Framework. In the Collection Framework... or objects. Set is the interface of the collections framework which
Collections
Collections  Hi, Please send a study material on collections.../java/jdk6/introduction-collections-api.shtml http://www.roseindia.net/javacodeexamples/index.shtml http://www.devmanuals.com/tutorials/java/collections/index.html
collections
collections  why we need collections.when we will use collections in our applications
collections
collections  in collections can we perform binarysearch on arraylist elements without sorting them
Collections Framework Enhancements
Collections Framework Enhancements       In Collection framework, we are able to improve the performance hashing function that is used by java.util.HashMap.
what is collections?
what is collections?  what is collections
Collections in Java
Collections in Java are data-structures primarily defined through a set of classes and interface and used by Java professionals. Some collections in Java that are defined in Java collection framework are: Vectors, ArrayList, HashMap
Collections API
Collections API  hello, What is the Collections API?   hi The Collections API is a set of classes and interfaces that support operations on collections of objects
Hibernate Criteria With Collections Example
Hibernate Criteria With Collections Example  Good code of Hibernate Criteria With Collections Example. Thanks   Example program of using Hibernate Criteria With Collections in your Java project. Check the tutorial
Collections in Java
Collections in Java  What is Concurrent Hash map
Collections in Java
Collections in Java  What is Concurrent Hash map
java collections
java collections  what are all the methods and things added for collections in java5 and java6 please kindly reply me as soon as possible
Advertisements
 

 

 

DMCA.com