14 lines
387 B
Java
14 lines
387 B
Java
|
//: io/FreezeAlien.java
|
|||
|
// <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);
|
|||
|
}
|
|||
|
} /* Output: (None) *///:~
|