public Reference(String className,RefAddr addr){
  this.className=className;
  addrs=new Vector<>();
  addrs.addElement(addr);
}

public Reference ( String className , RefAddr addr ) { this . className = className ; addrs = new Vector < > ( ) ; addrs . addElement ( addr ) ; }
constructs a new reference for an object with class name ' classname ' and an address . class factory and class factory location are set to null .
