list

List vs Tuple

List and Tuple in Python are the classes of Python Data Structures. The list is dynamic, whereas the tuple has static characteristics. This means that lists can be modified whereas tuples cannot be modified, the tuple is faster than the list because of static in nature. Lists are denoted by the square brackets but tuples are denoted as parenthesis.

Posted September 8, 2022 by Rohith and Anusha ‐ 1 min read

quick-references blog list tuple differences

Arraylist

ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java.

Posted August 16, 2022 by Anusha ‐ 7 min read

core java programming array list collections

Linkedlist

Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data structure which is a linear data structure where the elements are not stored in contiguous locations and every element is a separate object with a data part and address part. The elements are linked using pointers and addresses. Each element is known as a node.

Posted August 16, 2022 by Anusha ‐ 5 min read

core java programming linkedlist list collections data-structures

Vector Class

The Vector class implements a growable array of objects. Vectors fall in legacy classes, but now it is fully compatible with collections. It is found in java.util package and implement the List interface, so we can use all the methods.

Posted August 18, 2022 by Anusha ‐ 6 min read

core java programming vector class array deprecated list collections

Subscribe For More Content