UNB/ CS/ David Bremner/ teaching/ java/ BitmapReader.java
import java.io.ObjectInputStream;
import java.io.FileInputStream;
import java.io.IOException;
public class BitmapReader{
    public static void main(String[] args) throws IOException,ClassNotFoundException{
        ObjectInputStream in=new ObjectInputStream(
                                             new FileInputStream("noisy.bin"));

        Bitmap bitmap=(Bitmap)in.readObject();
        in.close();
        System.out.println(bitmap);

    }
}
//