作业帮 > 综合 > 作业

java programming problem,how to solve it?thank you!

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 23:22:31
java programming problem,how to solve it?thank you!
(Summing all the integers in a binary data file) Suppose a binary data file named Exercise19_3.dat has been created using writeInt(int) in DataOutputStream.The file contains an unspecified number of integers.Write a program to find the sum of integers.
I need code,not for translation.how to code it that the data was required from the .dat
(所有的整数求和在二进制数据文件)假设一个二进制数据文件命名为Exercise19_3.已经创建了数据的使用writeInt在DataOutputStream(int).该文件包含了数量不明的整数.编写一个程序来找到整数之和.