I\'m using FileOutputStream with PrintStream like this:
FileOutputStream
PrintStream
class PrintStreamDemo { public static void main(String args[]) {
No you dont need to. PrintStream.close method automatically closes the underlining output stream.
Check the API.
http://download.oracle.com/javase/6/docs/api/java/io/PrintStream.html#close%28%29