MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import java.util.Arrays;
import java.util.List;

public class MainClass {
    public static void main(String args[]) {
        String[] a = new String[] { "a", "c", "b" };

        List l = (Arrays.asList());
        String stuff[] = (String[]) l.toArray(new String[0]);
    }
}