how do i write a loop that makes 20 different words with "L"?
package com.codegym.task.task08.task0813;
import java.util.Set;
import java.util.HashSet;
/*
20 words that start with the letter "L"
*/
public class Solution {
public static Set<String> createSet() {
HashSet<String> s = new HashSet<String>();
for (int i=0; i<20; i++){
s.add("Llll");//write your code here
}
return s;
}
public static void main(String[] args) {
createSet();
}
}