Borderou de evaluare (job #1749118)
Utilizator | Data | 27 august 2016 21:33:57 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | java | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
Main.java:33: error: no suitable method found for add(ArrayList<Object>)
lists.add(new ArrayList<>());
^
method ArrayList.add(int,ArrayList<Integer>) is not applicable
(actual and formal argument lists differ in length)
method ArrayList.add(ArrayList<Integer>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion)
method AbstractList.add(int,ArrayList<Integer>) is not applicable
(actual and formal argument lists differ in length)
method AbstractList.add(ArrayList<Integer>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion)
method AbstractCollection.add(ArrayList<Integer>) is not applicable
(actual argument ArrayList<Object> cannot be converted to ArrayList<Integer> by method invocation conversion)
1 error
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !