Which method is used to start the execution of a thread?

  • begin()
  • runThread()
  • start()
  • startThread()
To start the execution of a thread in Java, you should call the start() method on a Thread object. This method internally calls the run() method, which contains the code to be executed by the thread. The other options do not start a thread in the correct way.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *