Hi everyone,
this is what i tried(i tried a few things hope you would understand):
and it creates only the folder text.txt.File f=new File("c:/FilePractice/text.txt"); f.mkdirs();
i am trying to create a blank txt file int this folder?what is the easiest way to do it?
i try this one also:
[CODE]PrintWriter writer = new PrintWriter("test.txt");
writer.close();
[CODE]
and its work but the test.txt file created in sort of default folder in my project folder.
how can i make it in a folder that i want?
if it helps i am using windows.