Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.Collections;
import java.util.Set;
import java.util.TreeSet;

public class Main {

    public static void main(String[] args) {
        TreeSet treeSet = new TreeSet();
        Set set = Collections.synchronizedSet(treeSet);
    }
}