Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.ArrayList;
import java.util.Collection;
import java.util.PriorityQueue;

public class Main {
    public static void main(String args[]) {

        Collection<String> c = new ArrayList<String>();

        PriorityQueue<String> p = new PriorityQueue<String>(c);

        System.out.println(p);
    }
}