@Zeune/

Hashset example

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.HashSet;

class Main {
  public static void main(String[] args) {
    HashSet<String> hashSet = new HashSet<>();

    hashSet.add("Hello world");

    System.out.println("");
    
  }
}