Hello..
I need help urgently on how to save an output from the command prompt using the BufferedWriter bw= new BufferedWriter(new FileWriter(".text",true));
a little help i much appreciated and Thank you =)
regards
Kakashi
Hello..
I need help urgently on how to save an output from the command prompt using the BufferedWriter bw= new BufferedWriter(new FileWriter(".text",true));
a little help i much appreciated and Thank you =)
regards
Kakashi
So you need to get input from a user and store it in a text file?
By the way, ".txt" is the extension typically used for a text file.
I am doing a small program, listing the network interfaces. if the user clicks the "Scan Network Interface"button, the output will be printed out using
"System.out.println(i+"." + "Interface Name's: " + net.getName() + " / " + net.getDisplayName() +"\n");".
therefore i want to save those ouput in the textfile
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.