K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Sid Stephens wrote:This is what I got so far. How do I get use the remove (position) method? It's not clicking in my head.
Sid Stephens wrote:
Sid Stephens wrote:Now the problem is I can't see the list. I'm not sure what I've done.
But there is something Henry forgot to mention.Henry Wong wrote: . . . To delete, you need to do the opposite, you need to move a range of elements to close up that hole. . . .
Campbell Ritchie wrote:I still think it should be changed to a switch, but good catch
Campbell Ritchie wrote:You have lots of repeated code in those ifs. You should have a method which you call from each option.
And why have you marked all your methods static?
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|