Writing and retrieval objects into file using java
<p>Can i write oblects in java into file and retrieve the same?? In c++ we ise wrie function.. can i realize this in java?</p>

<p>In C++ we may use </p>

<p>fin.write((char*)&amp;object,sizeof(classname));</p>

<p>how can i realize this in java.?</p>
