When attempting to compile and run the following code, the result will be
public class MyClass extends Thread{
public MyClass(String s){ msg=s; }
String msg;
public void run(){
System.out.println(msg);
}
public static void main(String[] args) {
new MyClass(Hello);
new MyClass(World);
}
}
Reveal answer
Fill a bubble to check yourself