2015-09-07 11:44:36 -06:00
|
|
|
|
// io/FreezeAlien.java
|
2015-06-15 17:47:35 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
|
|
|
|
// Create a serialized output file.
|
|
|
|
|
import java.io.*;
|
|
|
|
|
|
|
|
|
|
public class FreezeAlien {
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
|
ObjectOutput out = new ObjectOutputStream(
|
|
|
|
|
new FileOutputStream("X.file"));
|
|
|
|
|
Alien quellek = new Alien();
|
|
|
|
|
out.writeObject(quellek);
|
|
|
|
|
}
|
2015-09-07 11:44:36 -06:00
|
|
|
|
}
|
|
|
|
|
/* Output: (None) */
|