Wednesday, April 18, 2012

HOW TO: Create a New Thread in Java

Here's how to create a new Thread.

      new Thread() {
          public void run() {
              // insert code to be done by new thread here
          }
      }.start();

No comments:

Post a Comment