Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Collections;
import java.util.LinkedList;

public class Main {
    public static void main(String[] argv) throws Exception {

        LinkedList queue = new LinkedList();
        Object object = "";
        queue.add(object);

        Object o = queue.removeFirst();

        queue = (LinkedList) Collections.synchronizedList(queue);
    }
}