Analyze the following code:
public class Test implements Runnable{
        public static void main(String[] args){
                Test t = new Test();
        }

        public Test(){
                Thread t = new Thread(this);
                t.start();
        }

        public void run(){
                System.out.println("test");
        }
}

Views 👁 1,052


Answer


Warning: Undefined array key "answer" in /home/u981206607/domains/rummanansari.com/public_html/app/views/questions/explanatory.php on line 21