Removing elements from a HashSet using different methods

import java.util.Set;
import java.util.HashSet;

public class SetRemove {
public static void main(String[] args) {
// creating our set
// set internally uses hashmap
Set<String> set = new HashSet<>();
// adding element to our set
set.add("Gunjan");
set.add("Rehana");
set.add("Kiara");
set.add("Kayra");
set.add("Varsha");
set.add("Sayra");
set.add("Rehana");
Set<String> set1 = new HashSet<>();
set1.add("Rehana");
set1.add("Kayra");
set1.add("Gunjan");

System.out.println("Before invoking remove() method the set is");
System.out.println(set);

set.remove("Varsha");
System.out.println("After invoking remove() method the set is");
System.out.println(set);
// set.clear();
System.out.println("After invoking remove clear() the set is");
System.out.println(set);

System.out.println("After invoking addAll() method");
set.removeAll(set1);
System.out.println(set);
System.out.println(set1);

}
}

Google Script for Data Entry Form in Google Spreadsheet

// function to validate the entry made by user in user form function validateEntry (){ // declare a variable and referernece of active goog...