Pergunta de entrevista da empresa Paytm

How does a HashMap work internally? OOPS Concept : Polymorphism , Encapsulation.