The output of the above code is
Thread[Thread-0,5,main]
9
I am confused with which thread is running the run method is it the main() thread
if main thread is running the run method then System.out.println(currentThread()); this method should print name of main method...???