What is the output for the below code?<br><pre><code class="java">class A implements Runnable{ public void run(){ System.out.println(Thread.currentThread().getName()); }}public class Test{ public static void main(String... args){ A a = new A(); Thread t = new Thread(a); t.setName("good"); t.start(); }}</code></pre>

Correct Answer: good

Thread.currentThread().getName() return name of the current thread.