• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?

Answer - Strategically speaking, threads created by implementing Runnable interface are more advisable. If you create a thread by extending a thread class, you cannot extend any other class. If you create a thread by implementing Runnable interface, you save a space for your class to extend another class now or in future.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners