JAVA Threads
Analyze the following code:public class Test implements Runnable{ public static void main(String[] args){ Test t = new Test(); t.start(); } public void run() { }}
The program compiles, but it does not run because the start() method is not defined.
The program compiles and runs fine.
The program compiles, but it does not run because the run() method is not implemented.
The program does not compile because the start() method is not defined in the Test class.