I don´t understand why he is not accepting my code! What is the problem?
He says that the } in line 14 is wrong.
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> list = new ArrayList<String>();
}
public static Object createLinkedList() {
//write your code here
LinkedList list = new LinkedList();
}
public static void main(String[] args) {
}
}