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);
}
}