Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileOutputStream fos = new FileOutputStream("t.tmp");
- ObjectOutputStream oos = new ObjectOutputStream(fos);
- oos.writeInt(12345);
- oos.writeObject("Today");
- oos.writeObject(new Date());
- oos.writeObject(myTimePrimitive);
- oos.close();
Add Comment
Please, Sign In to add comment