public class DevArray { public static void main(String[] args) { double[] devList = {1.9, 2.9, 3.4, 3.5}; // Print all the array elements for (double element: devList) { System.out.println(element); } } }