How do you create a thread by extending the Thread class?
Answer: First, create a class that actually extends Thread, then override the run() method to do whatever you want the thread to do. You can then create multiple objects of that thread with different parameters as user or daemon threads in the main method.
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.