View Problem

Remove an element from a list by index

Given the list [Apple, Banana, Carrot], remove the first element to produce the list [Banana, Carrot]
ExpandDiskEdit
java 1.5 or later
list.remove(0);

Submit a new solution for java
There are 29 other solutions in additional languages (clojure, cpp, csharp, erlang ...)