public class TestMemoryCell { public static void main( String [ ] args ) { MemoryCell m = new MemoryCell( ); m.write( 5 ); System.out.println( "Contents are: " + m.read( ) ); } }