HashMap vs HashTable in Java (Java Collections)

preview_player
Показать описание



******************** Java HashMap vs HashTable:

Java HashMap:
It is Non-synchronized.
It allows one null key and multiple null values.
It was introduced in JDK 1.2.
Performance is fast.

Java HashTable:
It is Synchronized.
It doesn't allow any null key or value
It is a legacy class.
Performance is slow.

#HashMapVSHashTable #Java #programmingline #rakesh #rake

*******************************************************

Important Links:

*******************************************************

Subscribe my YouTube channels:

*******************************************************
Рекомендации по теме