Code example for ObjectInput

Methods: readObject, readUTF

0
        out.writeObject(this.target);
    } 
 
    public void readExternal(ObjectInput in) throws IOException,
            ClassNotFoundException { 
        this.mark = in.readUTF();
        this.target = (MethodExpression) in.readObject();
    } 
 
}