Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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

public class Main {
    public static void main(String[] argv) throws Exception {
        int[] array = new int[10];
        // Fixed-size list
        List list = Arrays.asList(array);
    }
}