subject

Design a class that has a static method named writearry. the method should take two arguments: 1)- the name of the filed. 2)- the reference to an int arry. the file should open as binary file, the content of the array should be written to file and then the file should closed. write a second method in the class name it readarry. the method should take two argument: 1)- the name of the filed. 2)- the reference to an int arry. the file should open as binary file. the data should be read form file and write to array and the should be closed. test your program with a demo program and submit your work as .java and screenshot.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
You know the right answer?
Design a class that has a static method named writearry. the method should take two arguments: 1)-...
Questions
question
Biology, 10.02.2020 23:52
question
Mathematics, 10.02.2020 23:52
question
Mathematics, 10.02.2020 23:52
question
Biology, 10.02.2020 23:52