Pregunta de entrevista de Deloitte

mostly from java and java8 and then spring boot and code from java 8