• How to Use isAlive() and join() method in Java Threading

    In our last blog we see how to multiple process works together. Now in this blog, we will see how check our process working on not using isAlive() method. We also see how to join thread in main program using join() method in Java Threading. Return type of isAlive() method is Boolean. This is method […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Multithreading Process in Java Program

    What is multithreading process? Multithreading Process in java program means multiple child process working together and control by main process. In this blog, we will see how three child processes Process-1, Process-2 and Process-3 work together. Work of three child processes are listed below. Child Process-1: Display 1 to 10 in 10 seconds. Child Process-2: […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Extends Thread Class: Thread Programming

    In this blog, we will see child process B and main process Thread4. Process B extends Thread class. Thread4 is main process controls the child process B. Work of both Processes Child Process B: Display 1 to 10 in 10 seconds. Main Process Thread4: Display 1 to 10 20 seconds.   Location: Child Process B: […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • Implements Runnable Interface: Thread Programming

    In this blog, we will see child process A and main process Thread3. Process A implements runnable interface. Thread3 is main process controls the child process A. Work of both Processes Child Process A: Display 1 to 10 in 10 seconds. Main Process Thread3: Display 1 to 10 20 seconds.   Location: Child Process A: […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS
  • How to setPriority of Thread Class?

    In this blog, we will see Thread Class and its object, we also see setPriority and setName method for setting of thread properties. Let’s see example and video on Thread Class. package examples; public class Thread2 {                 public static void main(String[] args)                 {                                 Thread t = Thread.currentThread();         // Process of creating an […]

    Share and Enjoy

    • Facebook
    • Twitter
    • Delicious
    • LinkedIn
    • StumbleUpon
    • Add to favorites
    • Email
    • RSS