Question: I am currently making a tiny little program that should be able to select a random element i put into the array using a Random of course (For practice purposes) and when a element in the array has been chosen at random. i want to remove this element in the array, so how do you remove a element in a array the easiest way?

Its the only thing i want to know. I got everything else sorted. It's just removing the element it has chosen (the random takes a random number between 0 and the amount of elements in the array, so if it chooses 0, it will take the first element in the array, and so on)

Answer: 
You can use [ArrayList](http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html) which support remove or add function, which actually is an resizable array.
An easy solution is to convert the array into a list. 

```
list = Arrays.asList(array);

```

Remove any element from the list and then revert it back to an array using

```
array = list.toArray();

```

Hope it helps.