Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) throws IOException {
- FileInputStream fis = new FileInputStream("vystup.txt");
- FileOutputStream fos = new FileOutputStream("vystup111.txt");
- int bajt;
- while((bajt = fis.read()) != -1){
- fos.write(bajt);
- }
- fis.close();
- fos.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement