import java.io.*;

public class streamIt
{
public static void main(String [] args)
{

gridTestSer anyObject = new gridTestSer();
    
    try {
	   // Serialize to a file
	   FileOutputStream  target  = new FileOutputStream("filename.ser");
	   ObjectOutputStream oos = new ObjectOutputStream( target );
	   oos.writeObject( anyObject );
	   oos.close();
	   
       } 
	catch (IOException e) 
	   {
    
	   } // end catch
	
} // end main

} // end class

