7.32 Errors and Exceptions in Java and Multithreaded Programming
Short-answer Questions
10. What are errors?
11. What are exceptions?
12. How can bugs be removed?
13. Distinguish between synchronous and asynchronous exceptions.
14. Distinguish between checked and unchecked exceptions.
15. Explain throws and throw clause of exception mechanism.
16. Explain finally block usage.
17. Distinguish between thread and process
18. Why is thread called a lightweight process?
19. In how many ways can a thread be created? 11. What is the entry point method for thread
execution?
20. Distinguish between suspend() and Stop() methods.
21. join() and wait() are better than suspend() and sleep(), why?
22. When are extends thread method and implements Runnable ...