Title: Threads - example using join() - Sun Certified Java Programmer 310-065 - Lesson 43
Duration: 17 minutes
Summary: In this video, we wrap up our discussion of threads. Remember that creating a new Thread instance is not enough to start a thread. The start() method needs to be called for this to happen. We discuss multiple questions that print the thread id on the screen with and without synchronization. Finally, we see an example that uses join(). When one thread calls the join method of another thread, the currently running thread will wait until the thread it joins with has completed.
Methodology of the development of example: Good coding standard and simplified design to prepare for the Java programmer certification exam CX-310-065.
Technology Used: Java - Core Concepts.
Keywords: class, object, Thread, start(), run(), Runnable, sleep(), join(), wait(), notify(), notifyAll().












Post stats:
See the prices for this post in Mr.Bool Credits System below: