Answer:
You could make an ArrayList and get the 3rd Element in the array (Third because Arrays start at 0, making the Fourth one the third)
Explanation:
public class Main {
public static ArrayList<Double> myDoubles = new ArrayList<>();
public static void main(String[] args) {
myDoubles.add(1.0);
myDoubles.add(2.0);
myDoubles.add(3.0);
myDoubles.add(4.0);
double fourth = myDoubles.get(3);
System.out.println(fourth); // returns 4.0
}
}