edu.pdx.cs399J.net
Class CountingRace
java.lang.Object
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.
|
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 |
CountingRace
public CountingRace()
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.