Mastering Java: The Ultimate Quiz for 'Thinking in Java'

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for your Java exam with our ultimate quiz based on 'Thinking in Java'. Engage with expertly crafted questions that enhance your learning process. Perfect for Java enthusiasts looking to solidify their knowledge!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which method would you use to start a previously created thread?

  1. init()

  2. begin()

  3. start()

  4. run()

The correct answer is: start()

Once a thread is created, the start() method is used to set the thread in motion and allow it to execute concurrently with the main thread. The init(), begin(), and run() methods are not valid options for starting a thread. The init() method is used to initialize the thread, the begin() method has been deprecated and should not be used, and the run() method is used to execute code within the thread, but it does not start the thread. Therefore, the correct method to use in order to start a previously created thread is the start() method.