EY Interview Question

Simple core java questions