differences

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

TCP vs UDP

TCP is a connection-oriented protocol, whereas UDP is a connectionless protocol. A key difference between TCP and UDP is speed, as TCP is comparatively slower than UDP. Overall, UDP is a much faster, simpler, and efficient protocol, however, retransmission of lost data packets is only possible with TCP.

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

quick-references blog tcp udp differences

Comparable vs Comparator

Comparable and Comparator both are interfaces and can be used to sort collection elements.

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

quick-references blog comparable comparator differences

ArrayList vs Vector

ArrayList and Vector both implements List interface and maintains insertion order.

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

quick-references blog arraylist vector differences

HashMap vs HashTable

HashMap and Hashtable both are used to store data in key and value form. Both are using hashing technique to store unique keys.

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

quick-references blog hashmap hashtable differences

Subscribe For More Content