Java OCA OCP Practice Question 96

Question

Given an object t that implements Runnable.

Which method of the Thread class should you invoke to cause t to be executed as a separate thread?

  • A. start()
  • B. init()
  • C. run()
  • D. main()


A.

Note

The start() method is used to execute an object as a separate thread.




PreviousNext

Related