Подскажите пожалуйста. Почему не проходит?
package com.javarush.task.task16.task1601;
/*
My first thread
*/
public class Solution {
public static void main(String[] args){
TestThread task = new TestThread();
new Thread(task).start();
}
public static class TestThread extends Thread implements Runnable{
public void run(){
System.out.println("My first thread");
}
}
interface Runnable{
// public void run();
}
// public static class Thread {
// public void run(){
// System.out.println("My first thread");
// }
// }
}