Remove element from Array Java -


i making tiny little program should able select random element put array using random of course (for practice purposes) , when element in array has been chosen @ random. want remove element in array, how remove element in array easiest way?

its thing want know. got else sorted. it's removing element has chosen (the random takes random number between 0 , amount of elements in array, if chooses 0, take first element in array, , on)

you can use arraylist support remove or add function, resizable array.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -