Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void Rasyti(String failas) throws IOException {
- BufferedWriter output = null;
- try {
- output = new BufferedWriter(new FileWriter(failas));
- output.write("abcd");
- } catch ( IOException e ) {
- e.printStackTrace();
- } finally {
- if ( output != null ) {
- output.close();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement