What will be the output of the following program?
public class Worker {
Worker() {
setName("Ashok");
setPriority(Thread.NORM_PRIORITY);
}
public void run() {
System.out.println("Name = " + Thread.currentThread().getName());
System.out.println("Priority = " + Thread.currentThread().getPriority());
}
public static void main(String[] args) {
Worker w = new Worker();
w.start();
}
}