File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Languages and the fly likes Removing an element Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Removing an element" Watch "Removing an element" New topic

Removing an element

Shashikant Anant

Joined: Jul 23, 2003
Posts: 5
I am creating a class in which I am declaring variables, and adding methods like insert,delete and modify. I can do the insert and modify using constructors but I don't know how to delete the elemets which are defined in the same class without using arrays. These will be stored in data file. But I should delete it before saving it in the data file. Because the details will go to datafile only when user clicks on save and he can delete the data entered if he wants to delete it. Can anybody please help me to solve this problem?
I agree. Here's the link:
subject: Removing an element
It's not a secret anymore!