已知如下代码File f = new File(myfile.dat);FileInputStr

IT互联网 已帮助: 时间:2025-05-24 08:12:26

已知如下代码

File f = new File("myfile.dat");

FileInputStream istream = new FileInputStream(f); 如何从流中读取数据?

难度:⭐⭐⭐

题库:IT/互联网,软件开发

标签:代码,数据,new

参考解答

用户头像

473***131

2025-05-24 08:12:26

a) byte[ buff = new byte[100;

b) istream.read(buff);


上一篇 如何让一个线程休眠1000毫秒?

下一篇 import关键字有什么作用?

相似问题