saving an object into a file

Hey all,I'm trying to save an object I have coded to a file on my hard-driveusing an inner save() method.Though I realise I should put something in an output stream, I can't find a way to put my object into an input-stream. How do I do that? Using which
[299 byte] By [plroita] at [2007-11-27 5:35:53]
# 1
See http://java.sun.com/docs/books/tutorial/essential/io/objectstreams.html
ChuckBinga at 2007-7-12 15:05:33 > top of Java-index,Java Essentials,New To Java...
# 2
to save an object's state use: implements serializable http://java.sun.com/docs/books/tutorial/essential/io/objectstreams.html
xianwinwina at 2007-7-12 15:05:33 > top of Java-index,Java Essentials,New To Java...