Pregunta de entrevista de Oracle

How do you handle multithreading in Java?

Respuesta de la entrevista

Anónimo

27 de feb de 2025

Java has a Thread class and Runnable interface for multithreading. For better performance, we use the Executor framework (e.g., ThreadPoolExecutor) instead of manually creating threads.