Why don't you just use an ArrayList? If this is for homework, all I can really say is to run this through a debugger (or at the very least, add some print statements) to get a better idea of what the code is actually doing.

September 26th, 2011, 11:32 AM

rainexel

Re: Deleting Array Records

no it's not a homework, I'm just looking for a help who does have a proper solution and can fix the code for me
tried some stuff but yet still doesn't work :)

By the way I'm using Jcreator. :) Thanks for the suggestion anyway

September 26th, 2011, 11:40 AM

KevinWorkman

Re: Deleting Array Records

Sounds like a job for an ArrayList.

Other than that, I'd recommend you split this up- write a method that takes an array and an index as arguments and deletes that index. Then you can post that as an SSCCE if you get stuck.