public void addInterface(CP ifc){
  addCPItem(ifc);
  interfaces.addElement(ifc);
}

public void addInterface ( CP ifc ) { addCPItem ( ifc ) ; interfaces . addElement ( ifc ) ; }
add this cp to the list of interfaces supposedly implemented by this class . note that the cp ought to be a classcp to make sense to the vm .
