Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

set vs list java

List																Set
1. The List is an ordered sequence.	           						1. The Set is an unordered sequence.
2. List allows duplicate elements									2. Set doesn’t allow duplicate elements.
3. Elements by their position can be accessed.						3. Position access to elements is not allowed.
4. Multiple null elements can be stored.							4. Null element can store only once.
5. List implementations are ArrayList, LinkedList, Vector, Stack	5. Set implementations are HashSet, LinkedHashSet.
Comment

PREVIOUS NEXT
Code Example
Java :: jadoh meaning 
Java :: labelled for loop in java 
Java :: kano magic wand 
Java :: how to not allow a user to enter a mark greater than 100 or below 0 in java 
Java :: string join in java 
Java :: java singleton with synchronized double check 
Java :: java accessing static variables from event handler 
Java :: java 11 read file line by line 
Java :: 2 multiples 
Java :: java Map to LinkedHashMap with ascending order of keys 
Java :: tomcat allow remote access to manager 
Java :: find largest number in 2d array java 
Java :: javafx add vm options 
Java :: java virtual override 
Java :: entry constructor java 
Java :: javafx change application title 
Java :: Java Single-line Comment 
Java :: staging and production environment logging spring boot 
Java :: java find nth smallest element using priority queue heap 
Java :: Create all possible substrings of a string java 
Java :: priority queue size jaa 
Java :: turn array to image java 
Java :: Java program pattern program to triangle using 100 numbers 
Java :: multipleQuastion.Java 
Java :: Mirror Inverse Program in java 
Java :: sorting boolean array with prime index 
Java :: Java Creating LinkedHashMap from Other Maps 
Java :: binary search 2D java 
Java :: collapse recycler view on new item click 
Java :: spigot change move speed of living entity creature 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =