This blog is for Automation Test Engineers

Tuesday, 29 August 2017

How to write contents in notepad


FileOutputStream fos=new FileOutputStream("xyz.txt");
String s="JavaSelenium";
byte b[]=s.getBytes();
fos.write(b);
fos.close();


0

0 comments:

Post a Comment