Pregunta de entrevista de Techblue Software

question based on java, threads, and from java 8