Here you can find the source of printArray(double[] a)
public static void printArray(double[] a)
//package com.java2s; //License from project: Open Source License public class Main { public static void printArray(double[] a) { System.out.print("["); for (double e : a) { System.out.print(e + ", "); }/* www. j av a 2s. com*/ System.out.println("]"); } }