Hi every one!!
I have a java program and i don't know how to delete a record from an array of objects using JOptionPane
Raakesh399
0
Newbie Poster
Recommended Answers
Jump to PostYou can use DeadSoul's code, but instead of the SQL query from line 8 onwards, remove the object from your array. I strongly recommend that you replace the array with an ArrayList which will greatly simplify your code for adding and removing records (use its add(...) and remove(...) methods) as …
All 4 Replies
DeadSoul
-2
Junior Poster in Training
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Raakesh399
0
Newbie Poster
jwenting
1,889
duckman
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.