Teck4World

Tuesday, February 27, 2018

Different between HashMap and HashTable in Java

Hash Table
Hash Table is synchronized;
There cannot be any null key or value


Hash Map

Map<Integer, String> testMap = new HashMap<Integer, String>();
Hash map not synchronized
There can be one null key and any null value
Has

on February 27, 2018
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Unknown
View my complete profile
  • ▼  2018 (53)
    • ►  September 2018 (1)
    • ►  August 2018 (3)
    • ►  July 2018 (3)
    • ►  June 2018 (4)
    • ►  May 2018 (16)
    • ►  April 2018 (4)
    • ►  March 2018 (14)
    • ▼  February 2018 (8)
      • What is different between static nested class and ...
      • Different between HashMap and HashTable in Java
      • Sinhala Font with Netbeans GUI
      • Array and array List
      • SQL
      • Runtime and Complile time error
      • Static Key work
      • How to use Arrays.sort() in java
  • ►  2017 (17)
    • ►  November 2017 (2)
    • ►  October 2017 (6)
    • ►  September 2017 (1)
    • ►  August 2017 (6)
    • ►  July 2017 (2)

Labels

  • core-java
  • OuterTeck
  • Spring Boot Basic Course
  • WSO2-ESB

Report Abuse

About Me

Unknown
View my complete profile

Search This Blog

  • Home

Different between Array and ArrayList

Popular Posts

Travel theme. Powered by Blogger.