- 1
What is the output
public class A extends Thread { public void run() { System.out.println("Hello"); } public static void main(String args []) { A a=new A(); a.run(); a.start(); } }
2 Answers
+ 4
Good try for Self-Learner Badge
- 1
Hello
Hello
public class A extends Thread { public void run() { System.out.println("Hello"); } public static void main(String args []) { A a=new A(); a.run(); a.start(); } }