Pregunta de entrevista de MoEngage

difference between extending thread and implementing runnable.