Pergunta de entrevista da empresa Oracle

How do you handle multithreading in Java?

Resposta da entrevista

Sigiloso

27 de fev. 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.