My Java Quiz

The ultimate place to learn Java!

Question #73: How would you describe the output from the 2 functions on the object t, below?

Thread t = new Thread(new Runnable() {

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
});
t.run();   //line 7
t.start(); //line 8