Pregunta de entrevista de Publicis Sapient

Write a task and then execute it using thread pool in java multithreading. How do you decide what should be the size of thread pool?