State Street Interview Question

Tell me how to use virtual class using hash maps