Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static Long[] toLongArray(long[] array) {
        Long[] arr = new Long[array.length];
        for (int i = 0; i < array.length; i++) {
            arr[i] = new Long(array[i]);
        }
        return arr;
    }
}