fixed 14B and added correct screenshot

This commit is contained in:
2026-02-12 14:15:24 +05:30
parent 8df65fed09
commit 7cab60365e
2 changed files with 6 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -9,5 +9,11 @@ public class VectorDemo{
System.out.println("Elements at index 0: " + vector.get(0));
System.out.println("Elements at index 1: " + vector.get(1));
System.out.println("Elements at index 2: " + vector.get(2));
System.out.println("Vector Elements: ");
for(String element: vector){
System.out.println(element);
}
vector.remove("Item Y");
System.out.println("Size of Vector afte removal: " + vector.size());
}
}