001package edu.pdx.cs410J.net; 002 003/** 004 * This class demonstrates concurrency in Java by having Big Bird and 005 * Mr. Snuffleupagus race to see who can count to 10 first. 006 */ 007public class CountingRace { 008 009 /** 010 * Create a Big Bird and Snuffy and have them race. 011 */ 012 public static void main(String[] args) { 013 Counter bigBird = new Counter("BigBird"); 014 Counter snuffy = new Counter("Snuffy"); 015 016 bigBird.start(); 017 snuffy.start(); 018 } 019}