import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.stream.Collectors;

class Main {
    public static void main(String[] args) {
        List<String> strings = Arrays.asList("Java", "Python", "C#", "Java", "Kotlin", "Python");
        List<String> unique = strings.stream().distinct().collect(Collectors.toList());
        System.out.println(unique);
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: