Skip to content

Instantly share code, notes, and snippets.

@damithadayananda
Created April 14, 2019 08:38
Show Gist options
  • Save damithadayananda/c5662b1524a476e206202da9be10acda to your computer and use it in GitHub Desktop.
Save damithadayananda/c5662b1524a476e206202da9be10acda to your computer and use it in GitHub Desktop.
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