import java.io.*; public class Introduction { public static void main(String[] args) throws IOException { FileOutputStream output = new FileOutputStream("output.txt"); String outputText = "bla,bla,bla"; byte[] outputBytes = outputText.getBytes(); output.write(outputBytes); output.close(); } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter