Pregunta de entrevista de Intellicus Technologies

one coding question and it's optimazation core java multithreading OOPs