+91-85006-22255
What will be the output of the following program?
class MyThread extends Thread { public static void main(String[] args) { MyThread t = new MyThread(); t.run(); } public void run() { for (int i = 1; i < 7; ++i) { System.out.print(i + ".."); } }}
Topic: What is Multitasking and Multithreading?
Read this topic Take test on this topic
Open In App