Pregunta de entrevista de Fresher

Multi threading explaination and some java code