Programming, Java, Lists, Data Structures.
marks.add(98); marks.add(99); marks.add(95); marks.add(97); marks.add(93); //Let's update some marks marks.set(2, 75); marks.set(3, 84); //Two new students added, no worries just add they marks.add(65); marks.add(87); Very convenient isn’t it? We didn’t need to know the size of our data beforehand,