title: What is the difference between the object serialization and Filewriter?
body: <p>I am going through Head first Java,and I have reached Serialization Topic,It states that if If your data will be used by only the Java,program that generated it then use serialization or else If your data will be used by other programs then write to a plain text file.</p>
  
  <p>But i have read that the serialization of an object is JVM independent.
  Also when we serialize an object,the its data gets saved but when we use the FileWriter and fileReader then what we print gets stored in the file,different from the serialization right?</p>
  
  <p>Also when is a bufferedreader used,how do we use it in cse with filewriter.</p>