Accenture interview question

More likely on Spring Boot Technicalities