import java.io.*;
class Abc
{
public static void main(String arg[])
{
try{
File f= new File("c:/xyz.txt");
FileOutputStream fout=new FileOutputStream(f);
byte data[]={65,66,67,68};
fout.write(data);
fout.close();}
catch(Exception e)
{
System.out.println(e);
}
}
}
manveet 0 Newbie Poster
di2daer 12 Junior Poster in Training
masijade 1,351 Industrious Poster Team Colleague Featured Poster
kvprajapati 1,826 Posting Genius Team Colleague
di2daer 12 Junior Poster in Training
kvprajapati 1,826 Posting Genius Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.