• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - How to create a thread in a program?

Answer - You have two ways to do so. First, making your class "extends" Thread class. Second, making your class "implements" Runnable interface. Put jobs in a run() method and call start() method to start the thread.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners