/FileExtraction/Java_unseen/infotechprogrammer_learn-java-programming/_16_Thread/RunnableInterfaceThread.java
class X implements Runnable {
    public void run() {
        for(int i=1; i<=10; i++) {
            System.out.println("\tThread X "+i);
        }
        System.out.println("End of Thread X");
    }
}

public class RunnableInterfaceThread {
    public static void main(String[] args) {
        X runnable = new X();
        Thread threadX = new Thread(runnable);
        threadX.start();
        System.out.println("End of main Thread");
    }
}
