Created
April 14, 2019 08:38
-
-
Save damithadayananda/c5662b1524a476e206202da9be10acda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class threadWithTheaClass extends Thread { | |
public void run(){ | |
System.out.println("thread using class"); | |
} | |
} | |
public class main{ | |
public static void main(string[] args) | |
new threadWithTheaClass().start() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment