jug
Class CellPhone1

java.lang.Object
  |
  +--jug.CellPhone1

public class CellPhone1
extends java.lang.Object

A simple cell phone that "sends" and "receives" a string message.


Method Summary
static void main(java.lang.String[] args)
           
 void step()
          The step method - at each step the phone deposits a message in "space".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)

step

public void step()
The step method - at each step the phone deposits a message in "space". The message goes to the base. The phone prints what it receives "from space", from the base.