Collections Framework

Ads

 
 

Share on Google+Share on Google+

Pintu Ranjan Sai
Collections Framework
1 Answer(s)      6 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.

Ads
View Answers

August 5, 2011 at 12:15 PM


Because hashtable is synchronized.


Ads









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  in collections can we perform binarysearch on arraylist elements without sorting them
collections
collections  why we need collections.when we will use collections in our applications
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.
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
what is collections?
what is collections?  what is collections
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
Framework......
Framework......  What is framework? What is difference between framework and package
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
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
Version of commons-collections>commons-collections dependency
List of Version of commons-collections>commons-collections dependency
Version of excalibur-collections>excalibur-collections dependency
List of Version of excalibur-collections>excalibur-collections dependency
Java collection API
;   Collections Framework A collections framework is used to represent and manipulate collections.        Advantages of collections framework A programmer need not to learn
collections in java
collections in java  please explain me the flow of this program..i m getting o/p as 2 1 1..y not 2 1 0..is it that if we change the i2 value,it doesnt remove. import java.util.*; public class Mapit { public static void main

Ads

 
Advertisement null

Ads