newcoder1010 Posted March 6, 2022 Share Posted March 6, 2022 Hello, // for loop 1 for(int i = 0; i < 1000; i++) { // it will collect some data ( each set of data will have int, string, boolean, string, int) i.e. empNo, empTitle, isGraduated, city, yearGraduated // I like to collect all the data into some array or array list or collection (need some recommendation without using database) .so I can iterate thru the // records during run time later in the steps } // for loop 2 // I like to iterate thro all the records that I temporarily stored in a list in for loop 1 for(int i = 0; i < 1000; i++) { // read data row by row } I am not sure how to do this program. Can you please help? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now