Jio interview question

Threading in Java