Skip to content

Commit 1e23055

Browse files
Update CustomGenArrayList.java
1 parent 5aceaa8 commit 1e23055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/17-oop/code/src/com/kunal/generics/CustomGenArrayList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class CustomGenArrayList<T> {
99

1010
private Object[] data;
1111
private static int DEFAULT_SIZE = 10;
12-
private int size = 0; // also working as inde value
12+
private int size = 0; // also working as index value
1313

1414
public CustomGenArrayList() {
1515
data = new Object[DEFAULT_SIZE];

0 commit comments

Comments
 (0)