MCQOPTIONS
Saved Bookmarks
| 1. |
which of these will create and start this thread? |
| A. | new Runnable(MyRunnable).start(); |
| B. | new Thread(MyRunnable).run(); |
| C. | new Thread(new MyRunnable()).start(); |
| D. | new MyRunnable().start(); |
| Answer» D. new MyRunnable().start(); | |