HCL America Interview Question
Software Engineer / Developersif grandma has to maintain an cuboard of different cloths, the c++ sytle is to know which cloth is kept at what location. When grandpa asks for a particular cloth, she will go and get that one. Where as the Java style is to hire a maid who is responsible for keeping and getting the cloth if she was told the number/color of cloth. In java style grandma dont have to worry in which shelf it is kept
if grandma has to maintain an cuboard of different cloths, the c++ sytle is to know which cloth is kept at what location. When grandpa asks for a particular cloth, she will go and get that one. Where as the Java style is to hire a maid who is responsible for keeping and getting the cloth if she was told the number/color of cloth. In java style grandma dont have to worry in which shelf it is kept
- neo August 18, 2009