FileDocCategorySizeDatePackage
TestAccount.javaAPI DocExample775Wed Apr 05 11:25:42 BST 2000None

TestAccount

public class TestAccount extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    try {
      AccountImpl acct = new AccountImpl("JimF");
      Naming.rebind("JimF", acct);
      System.out.println("Registered account.");
      System.out.println("Waiting...");
      acct.wait();
    }
    catch (Exception e) {
      e.printStackTrace();
    }