Hi,
What is the code for Hashtable in Java? How to find hashtable size in Java?
Give me the easy code.
Thanks
Hi,
You can use the size() method to find the number of elements in the Hashtable.
hashTableObject.size();
Please check the tutorial Simple Hash Table implementation in Java.
Thanks
Ads