A note of BufferedReader vs Scanner
Last week we discussed about Factory Pattern which is one of the creational pattern group. Today I will make a note about another simple pattern.
ConcurrentHashMap is thread-safe and only allow access from one thread at the same time which is HashMap not. HashMap allow multithread to access.