Next Insurance Interview Question

technical questions: some basic java questions: why to use equals vs == second part was an algorithm problem