LogiCoy Interview Question

based on Java and programming