I have to write a method
write(Printstream p)
where p
has been defined as
new PrintStream(new File(QUESTION_FILE).
I don't even really need to know how to go directly from a TreeNode
into the PrintStream
, just mainly how to put Strings line by line into it.