save changes (permanently) in an arraylist?

前端 未结 4 1973
北荒
北荒 2021-01-27 06:25

Is that possible? Like for example, a user added a new item/element into the arraylist (bufferedreader process) and surely, there would be changes happen. My question is that is

4条回答
  •  故里飘歌
    2021-01-27 07:11

    This is possible if your ArrayList is frequently
    persisted either on the file system or in a database.
    This is what you need to do.

提交回复
热议问题