What is the difference between generating a thread by implementing Runnable or by extending the Thread class?
Answer: Implementing Runnable has the benefit of being able to extend another class if the programmer wishes to do so. Otherwise, both are functionally the same.
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.