Tech Mahindra Interview Question

Armstrong number. Java basics, OOPS, Collections.