Cloning a Hashtable Using in-built method Clone()

 

import java.util.Hashtable;

public class HashTableClone {

public static void main(String[] args) {
Hashtable<Integer, String> ht = new Hashtable<>();
//adding element to our Table
ht.put(31, "Vidya");
ht.put(12, "Sambhavna");
ht.put(33, "Tina");
ht.put(45, "Gravit");
ht.put(51, "Anmol");
ht.put(16, "Veer");
Hashtable<Integer, String> ht_clone = (Hashtable) ht.clone();
System.out.println("Original Table is :" + ht);
System.out.println("cloned Table is : " + ht_clone);
}
}

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...