Pregunta de entrevista de Capgemini Engineering

How we can define a thread in java?