Programming Assignment 5 - Honey Bear's Picnic

Concurrent Programming, Summer 2003


Due Date

This assignment is due by 2:00 p.m. on Tuesday, 8 July.

See the assignment turn-in page (last modified on 16 July 2003) for instructions on turning in your assignment.

The Problem

Do Problem 4.39 in Andrews, The Bear and the Honeybees. Here are a few clarifications about the problem:

Use Java to solve the problem. You may solve the problem anyway you like, but your solution should use a honey pot that implements the interface

interface HoneyPotInterface {
  public void bearEnter();
  public void bearExit();
  public void beeEnter();
  public void beeExit();
  }

You can also find the source file in /export/home/class/cs-598/a5 from any cslab machine or rockhopper.


This page last modified on 7 July 2003.