How to store data from user into Array or ArrayList? [closed]

70
September 20, 2021, at 10:40 AM
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 21 hours ago.

Improve this question

I am struggling with making Java program. Ask user to add information and if user says yes, it will ask what is username(String) and student id(int). Then these information are stored in Object. After that, it keeps asking whether user want to add information or not. Declare Array size with 6, and If user enters 7th, it will delete information at array[0] and place 7th in array[0]. If user enters 8th, it will delete information at array[1] and place 8th in array[1]; (if user enter more than 6th, old information will be deleted and new information will be stored in array[0] to [5]) this is done by using %mod operation.

READ ALSO
not rendering content until needed

not rendering content until needed

I am trying to make my webpage load quicker and be more responsiveI am loading in upto 4k images that a user can scroll down through, apply filters to, and sort

25
RecyclerView Filter is not filtering (Kotlin)

RecyclerView Filter is not filtering (Kotlin)

I started the debugger and my breakpoints show that on the first startup the dataset is being transmitted as the adapter is being initialized, but as soon as I call the filter it doesn't have any data to work with and my recyclerview just stays as it was before

38
Pulling a docker image to client site [closed]

Pulling a docker image to client site [closed]

Want to improve this question? Update the question so it focuses on one problem only by editing this post

71
How to automatic update the data in QTableWidget from mysql?

How to automatic update the data in QTableWidget from mysql?

I'm working for a simple project and I need a way to update the QTablewidget below automatically if there's new data inserted or deleted

65