Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static String doubleArr2String(Double[] doubleArray, String delimeter) {
        String str = "";
        for (int i = 0; i < doubleArray.length; i++) {
            str += delimeter + Double.toString(doubleArray[i]);
        }
        if (!str.isEmpty())
            str = str.substring(1);
        return str;
    }
}