Profile cover photo
Profile photo
zaur Kurbanov
55 followers
55 followers
About
zaur's interests
View all
zaur's posts

Post has attachment

Post has attachment

Post has attachment

Hi why next code work incorrect?
import java.io.*;

public class IOTest {
public static void main(String[] args) throws IOException {
BufferedReader fr = null;
BufferedWriter fw = null;
char[] buff = new char[1024*1024];
try{
fr = new BufferedReader(new FileReader(args[0]));
fw = new BufferedWriter(new FileWriter(args[1]));
int tmp;
while((tmp = fr.read(buff,0,buff.length)) != -1){
fw.write(buff,0,tmp);
System.out.println(tmp);
}

}
finally{
if(fr != null)
fr.close();
if(fw != null)
fw.close();
}
}
}

Post has attachment
Спецназ в лифте

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Аскандар Каландаров and 6 others were tagged in zaur Kurbanov's album.
PhotoPhotoPhotoPhotoPhoto
View album
Wait while more posts are being loaded