Java Point: Hashtable
Java Point: Hashtable
Java Point: Hashtable
Javascript | Ajax | Jaxb | JUnit Write-For-Us | Advertise Us | Ask Question | forum | login
+91-9990449935
Development | Training | SEO Promotion | Consultancy
JavaTpoint 0120-4256464
Subscribe Us
SSS IT (Powered by Javatpoint). Visit www.sssit.org for more details.
Home Core Java Servlet JSP Struts2 Mail API Hibernate Spring Android Design Pattern Quiz Projects Interview Q Comment Forum
Basics of Java
OOPs Concepts
String Handling
Exception Handling
Nested Classes <<prev next>>
Multithreading Hashtable
Synchronization
I/O A Hashtable is an array of list.Each list is known as a bucket.The position of bucket is identified by
calling the hashcode() method.A Hashtable contains values based on the key. It implements the Map
Serialization
interface and extends Dictionary class.
Networking
It contains only unique elements.
AWT It may have not have any null key or value.
Event Handling It is synchronized.
Swing
LayoutManager
Example of Hashtable:
Applet
Reflection API
Collection 1. import java.util.*;
2) HashMap can contain one null key and multiple null Hashtable cannot contain any null key nor
values. value.
<<prev next>>
Google +
www.javatpoint.com/Hashtable-class-in-collection-framework 1/2
10/30/13 Hashtable class - javatpoint
javatpoint.com
Like
Like the www.javatpoint.com on facebook / google+ / twitter / subscribe to get latest updates
www.javatpoint.com/Hashtable-class-in-collection-framework 2/2