Skip to content

Commit

Permalink
resolve 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DankevichMisha committed Nov 15, 2024
1 parent 483f012 commit a006da8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/core/basesyntax/ArrayList.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class ArrayList<T> implements List<T> {
public ArrayList() {
array = (T[]) new Object[DEFAULT_SIZE];
}

@Override
public void add(T value) {
increaseSize();
Expand Down

0 comments on commit a006da8

Please sign in to comment.