Creating copy of an ArrayList using Clone Method

 

import java.util.*;

class CloneOfLL{
public static void main(String args[]){
LinkedList<String> ll = new LinkedList<>();
ll.add("mango");
ll.add("banana");
ll.add("apple");
ll.add("orange");

System.out.println("Original list is : "+ll);

LinkedList copyList = new LinkedList<>();
copyList =(LinkedList)ll.clone();
System.out.println("Original list is : "+copyList);
}
}

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