Home » Java Programming » Threads

The following block of code creates a Thread using a Runnable target: Runnable target = new MyRunnable(); Thread myThread = new Thread(target); Which of the following classes can be used to create the target, so that the preceding code compiles correctly?

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!