0
Edit and remove from file in java
Hi everyone... How can i remove a person with his things(like frist name and last name and id card...) by entering his id card from file..... I really need this so if u can tell me... I will be so grateful 😃😃
1 ответ
0
1) Store all objects in an ArrayList.
2) Use the object of an Iterator interface to traverse the ArrayList where you specify your condition to remove a specific matching record.
Kindly read about the Iterator interface if you have not used it before.
https://www.sololearn.com/learn/Java/2184/