+ 4
BufferedInputStream
1) InputStream in=new BufferedInputStream(new FileInputStream("test.txt")); 2).BufferedInputStream in=new BufferedInputStream(new FileInputStream("test.txt")); Can anyone explain above 2 codes?Is there any difference in above codes.?
2 odpowiedzi
+ 6
There are no different above two codes.
Because InputStream class is abstract class and it is supper class of BufferedInputStream class.
0
so inputstream is the latest ?