Coforge Interview Question

Method chaining in Java, Encapsulation hash map