View Problem

Fetch an element of a list by index

Given the list [One, Two, Three, Four, Five], fetch the third element ('Three')
ExpandDiskEdit
java
String result = list.get(2);

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