Question: U Student.java question2 J Student.java students.txt X question1 1 Aaron 24 3 Edward 42 5 Heather 62 7 Jane 84 9 Linda 103 11 Zac

 U Student.java question2 J Student.java students.txt X question1 1 Aaron 243 Edward 42 5 Heather 62 7 Jane 84 9 Linda 103

U Student.java question2 J Student.java students.txt X question1 1 Aaron 24 3 Edward 42 5 Heather 62 7 Jane 84 9 Linda 103 11 Zac 121 13 ********* question1 X J Student.java question2 J Student.java 1 write **TWO** programs. 2 3 PROGRAM 1: CreateBinaryUsingDataStream.java 4. 5(1) Read "students.txt" that contains students' information. 6 Each student' info consists of two lines: name and classification. 7 8- Use a Scanner to read the text file. 9 - Store each student's information in a Student object and then add the Student object in 10 an array list of Student. 11 12 (2) Create a binary file "studentsDataStream.dat" using DataOutputStream. 13 14 The program will need to write attribute by attribute to the file. 15 16 PROGRAM 2: ReadBinaryUsingDataStream.java 18 19 It will read Student objects from the binary file created by Program 1 20 and print out the information for each student. 21 22 In order to earn full credits, the program shouldn't assume knowledge 23 that there are six Student objects are in the file. 24 25 If your program read exactly 6 Student object, you can still earn partial 26 credits for Program 2. 17 **

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!