Test.java Source code

Java tutorial

Introduction

Here is the source code for Test.java

Source

import java.util.ArrayList;
import java.util.List;

public class Test {

    public static void main(String[] args) {

        List arrayList = new ArrayList<>();
        //List<String> arrayList = new ArrayList<>();
        arrayList.add("First");
        arrayList.add("Second");

    }
}