What will be the result of the following program execution?

public class MyThread extends Thread {
    public void run() {
        System.out.println("I'm Running!");
    }

    public static void main(String[] args) {
        System.out.println("About to run thread");
        new MyThread("Run, Thread, Run!").start();
    }
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes