Created
July 19, 2018 11:19
-
-
Save harshityadav95/7e74e99d3d5b61358bb98dff8499827a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class MultithreadingDemo extends Thread{ | |
public void run(){ | |
System.out.println("My thread is in running state."); | |
} | |
public static void main(String args[]){ | |
MultithreadingDemo obj=new MultithreadingDemo(); | |
obj.start(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment