Monday 28 November 2016

Java Tutorial : Java Threads (Java multithreading Introduction)


Click here to watch in Youtube :
https://www.youtube.com/watch?v=rgU_agkphI8&list=UUhwKlOVR041tngjerWxVccw

Click the below Image to Enlarge
Java Tutorial : Java Threads (Java multithreading Introduction) 
Java Tutorial : Java Threads (Java multithreading Introduction) 
MainThread.java
public class MainThread
{

    public static void main(String[] args)
    {
        Thread thread = Thread.currentThread();
        thread.setName("MainThread");
        System.out.println("Name of thread = " + thread);
    }

}
Output
Name of thread = Thread[MainThread,5,main]
Click the below link to download the code:
https://sites.google.com/site/ramj2eev1/home/javabasics/Java_MultiThreading_App.zip?attredirects=0&d=1

Github Link:
https://github.com/ramram43210/Java/tree/master/BasicJava/Java_MultiThreading_App

Bitbucket Link:
https://bitbucket.org/ramram43210/java/src/5edb9b935a4ef60d2a672d03f038390cd08d4eb7/BasicJava/Java_MultiThreading_App/?at=master

See also:
  • All JavaEE Viedos Playlist
  • All JavaEE Viedos
  • All JAVA EE Links
  • Servlets Tutorial
  • All Design Patterns Links
  • JDBC Tutorial
  • Java Collection Framework Tutorial
  • JAVA Tutorial
  • Kids Tutorial
  • No comments:

    Post a Comment