Question: Lab5 (Array of Objects)-- (1) Rename your Lab4 from xxxx Lab4.java to xxxx Lab5.java ( In Eclipse, right click your (2) Ask user to input

 Lab5 (Array of Objects)-- (1) Rename your Lab4 from xxxx Lab4.java

Lab5 (Array of Objects)-- (1) Rename your Lab4 from xxxx Lab4.java to xxxx Lab5.java ( In Eclipse, right click your (2) Ask user to input an integer input (numberOfStudents) from keyboard Modify Lab4 to Lab5 so that it meets the following requirements about its functionality: xxxx_Lab4, select Refactor, then rename the file to xxxx Lab5) (3) Declare an Object array to hold the student objects, and the array size is nubmerOfStudents (4) Use loop statements which will ask user to input all data fields of each student's object and store the information into Object array you created above (Hint: You can create a Scanner object, and it's nextInt) method to get integer values, and it's next() method to get String values) (Note: You are required to use the same format in CPS2231 Lab5 input.txt to test your program. CPS2231_Lab5_input.txt is saved in google drive.) CPS2231-Lab5_input.txt file contain === 001 FirstNamel LastNamel fl001@kean.edu 002 FirstName2 LastName2 f1002@kean.edu 003 FirstName3 LastName3 f1003@kean.edu 004 FirstName4 LastName4 fl004@kean.edu 005 FirstName5 LastName5 fl005@kean.edu (5) Use loop statements to print out all student objects from the object array (Note: If you use the example input above, your output will be like below.) Student's information: 001 FirstNamel LastName1 fl001@kean.edu 002 FirstName2 LastName2 fl002@kean.edu 003 FirstName3 LastName3 fl003@kean.edu 004 FirstName4 LastName4 f1004@kean.edu 005 FirstName5 LastName5 fl005@kean.edu PS: You need to follow the rules below to submit all your program and lalb assignments except UNIX assignment

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!