Rohith

Creator of whiletrue.live.

@rohithreddykota

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

LinkedList vs ArrayList

ArrayList and LinkedList both implement the List interface and maintain insertion order. Both are non-synchronized classes.

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

quick-references blog linkedlist arraylist differences