Page 1 of 1

What is the name of the thread in the following Java Program?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
class multithreaded_programing { public static void main(String args[]) { Thread t = Thread.currentThread(); System.out.println(t); } }
a) main
b) Thread
c) System
d) None of the mentioned