Skip to content

Commit 995600e

Browse files
Update CustomArrayList.java
corrected a small spelling
1 parent 5aceaa8 commit 995600e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ public class CustomArrayList {
77

88
private int[] data;
99
private static int DEFAULT_SIZE = 10;
10-
private int size = 0; // also working as inde value
10+
private int size = 0; // also working as index value
1111

1212
public CustomArrayList() {
1313
this.data = new int[DEFAULT_SIZE];

0 commit comments

Comments
 (0)