Last active
December 19, 2015 02:49
-
-
Save delexi/5886134 to your computer and use it in GitHub Desktop.
FOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
FileOutputStream fos = new FileOutputStream(new File("fostest.tmp")); | |
fos.write("Hello".getBytes()); | |
fos.close(); | |
} catch (FileNotFoundException e) { | |
e.printStackTrace(); | |
} catch (IOException e) { | |
e.printStackTrace(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment