I want to create a file by entering its name at runtime through command line argument..But i am not getting any idea about how to do that?? Please provide some help.. THANKS

Re: I/O 80 80

The file name that you type in the command line argument is available to you as a parameter in your main(....) method. Now you have the file name in a String, so you can use what you learned from mKorbel's links to create the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.