writing to a file
I'm new to java and I need to write a string that i generated in my code to an output file. I'm currently writing the string to the standard output like so :
All the types e.g. 'Receiver' or 'out1' are of type string. Could anyone show me how to open a file for writing and then write this information to the file? Is there some sort of file writer equivalent for system.out.println()? Thanks very much
Lookup the class, FileWriter.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center