how can i deleting an element in an array, then replace it with to 0 the move 0 to the last element???
johndy.maghanoy
0
Newbie Poster
Recommended Answers
Jump to PostYou can't "replace it with null string" in an int array.
For int arrays all you can do is to chose some value to represent elements that do not have a user value in them. Integer.MIN_VALUE could be a good choice.
All 4 Replies
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
jalpesh_007
-3
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
jalpesh_007
-3
Newbie Poster
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.