• 2021-04-14
    Given:
    1. public class Foo implements Runnable {
    2. public void run (Thread t) {
    3. System.out.println("Running.");
    4. }
    5. public static void main (String[] args) {
    6. new Thread (new Foo()).start();
    7. }
    8. }
    What is the result?