Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import java.util.List;

public class Main {
    public static String[] toStringArray(List<String> input) {
        String[] retarr = new String[input.size()];
        for (int i = 0; i < input.size(); i++) {
            retarr[i] = input.get(i);
        }
        return retarr;
    }
}