Hi ,
I am using the following code to create a file and write to it -
________________________________________________________________________
<code>
String md5sum = "my name is abhinav";
PrintWriter pw = new PrintWriter(new FileWriter("TestFileAbhinav"));
pw.println(md5sum);
</code>
_________________________________________________________________________
The file is getting created but the string is not getting written to the file.Where am I going wrong?Please help.