7.14.19.What is the output from the following programm?
public class MainClass{ public static void main(String args[]) {
MyThread t = new MyThread();
t.displayOutput("t has been created.");
t.start();
}
} class MyThread extends Thread { public void displayOutput(String s) {
System.out.println(s);
} public void run() {
displayOutput("t is running.");
}
}