Question: hellpppppppp! i need help with my j.a.v.a homework. How do i do this?!?!?!?!?! please help Arrays are often used together with iterations. In this exercise,

hellpppppppp! i need help with my j.a.v.a homework. How do i do this?!?!?!?!?! please help hellpppppppp! i need help with my j.a.v.a homework. How do i do

Arrays are often used together with iterations. In this exercise, you will review your skills of manipulating arrays with looping. Design a Java application that reads a sequence of student id, last name and first name from the user and then saves the user-entered data into an array of Student. The data input process will continue until the user enters -99 (negative 99) as the student id. Draw a UML class diagram to show your design of the Student class, which has three attributes (id, first name, and last name) and several methods. Define the main() method to test the Student class. The student data will be saved into an array of Student. Add a method called displayStudents() that, when called, will display all students currently stored in that array. Show the design of your displayStudents() method as a pseudocode. Show the design of your main() method as a pseudocode Include your source program. Program Verification: Compile and run your program verify that the program behaves correctly. Test your program by entering the following data when running the application. Attach the screen snapshots of testing your program. Note that the student data will be displayed by the application. Text file streams: The main objective of this exercise is for you to practice using text files. Instead of manually entering the student data, revise your program such that it reads the data from a text file. Click this link and save the text file studentData.txt into your local disk. 1111 John Doe 2222 Jane Doe 3333 Mary Smith 4444 Peter Smith 5555 Debbie Wong 6666 Philip Anderson 7777 Samuel Peterson 8888 Pat MacDonald 9999 Chris Singh Include your source program. Program Verification: Compile and run your program and verify that the program behaves correctly. Test your program by entering the following data when running the application. Attach the screen snapshots of testing your program. Note that the student data will be displayed by the application

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!