| Author |
Can somebody show me more Thread.* examples?
|
Klaas Vredevort
Greenhorn
Joined: Dec 27, 2005
Posts: 29
|
|
Hey! I got a wonderful, though very crude, method to make Strings sleep in Java. Mark Weber showed me the Thread.sleep() method. I love it! Can sombody please show me more examples of this? Or where can I find info on it? Thanks! Klaas
|
 |
Peter Petrov
Greenhorn
Joined: Feb 03, 2006
Posts: 17
|
|
Well, Strings do not sleep And judging by your excitement from the Thread.sleep() method I suggest you start from here: http://java.sun.com/docs/books/tutorial/essential/threads/ Regards.
|
 |
ak pillai
author
Ranch Hand
Joined: Feb 11, 2006
Posts: 288
|
|
if you are amused by Thread.sleep(), wait till you come across consumer-producer power of threads with wait(), notify(), notifyall() methods. I always enjoyed multi-threading despite being can be complex at times. having said that, thanks to the java.util.concurrent package in JDK 1.5 for simplified and more efficient multi-threading.
|
java j2ee job interview questions with answers | Learn the core concepts and the key areas
|
 |
 |
|
|
subject: Can somebody show me more Thread.* examples?
|
|
|