void write(Environment env,DataOutputStream out,ConstantPool tab) throws IOException {
  out.writeByte(CONSTANT_STRING);
  out.writeShort(tab.index(str.getValue()));
}

void write ( Environment env , DataOutputStream out , ConstantPool tab ) throws IOException { out . writeByte ( CONSTANT_STRING ) ; out . writeShort ( tab . index ( str . getValue ( ) ) ) ; }
write the constant to the output stream
