"Hi, Amigo!"
| Interview questions | |
|---|---|
| 1 | What thread priorities are there? |
| 2 | Can you stop a thread by reducing its priority to 0? |
| 3 | Why do we need the ThreadGroup class? |
| 4 | Which thread group is the main thread part of? |
| 5 | What is the ThreadPool pattern? |
| 6 | Why do we need the ThreadPoolExecutor class? |
| 7 | How many ways to create a thread do you know? (Thread, Runnable, Callable<T>) |
| 8 | What is the Future class used for? |
| 9 | What are the advantages of Callable over Runnable? |
| 10 | Can I cancel a task if I use the Future class? |
GO TO FULL VERSION