The first time I ask for help, before that I completed all the tasks myself! such a problem that I’m stuck here and can’t move on!
package com.codegym.task.task08.task0807;
import java.util.*;
/*
LinkedList and ArrayList
*/
public class Solution {
public static Object createArrayList() {
//write your code here
ArrayList<String> cats = new ArrayList<String>();
return cats;
}
public static Object createLinkedList() {
//write your code here
LinkedList list = new LinkedList();
}
public static void main(String[] args) {
LinkedList list = new LinkedList();
return list;
}
}