Synechron Interview Question

Core Java basics