edu.pdx.cs399J.net
Class CountingRace

java.lang.Object
  extended by edu.pdx.cs399J.net.CountingRace

public class CountingRace
extends Object

This class demonstrates concurrency in Java by having Big Bird and Mr. Snuffleupagus race to see who can count to 10 first.


Constructor Summary
CountingRace()
           
 
Method Summary
static void main(String[] args)
          Create a Big Bird and Snuffy and have them race.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CountingRace

public CountingRace()
Method Detail

main

public static void main(String[] args)
Create a Big Bird and Snuffy and have them race.



Copyright © 2000-2009 Portland State University. All Rights Reserved.