/in/Main.java:2: error: class Intersection is public, should be declared in a file named Intersection.java
public class Intersection {
^
/in/Main.java:3: error: cannot find symbol
@Test
^
symbol: class Test
location: class Intersection
/in/Main.java:5: error: cannot find symbol
Set<String> set1 = new HashSet<>();
^
symbol: class Set
location: class Intersection
/in/Main.java:5: error: cannot find symbol
Set<String> set1 = new HashSet<>();
^
symbol: class HashSet
location: class Intersection
/in/Main.java:6: error: cannot find symbol
Set<String> set2 = new HashSet<>();
^
symbol: class Set
location: class Intersection
/in/Main.java:6: error: cannot find symbol
Set<String> set2 = new HashSet<>();
^
symbol: class HashSet
location: class Intersection
6 errors