Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

add items to linked list java

LinkedList<String> ll = new LinkedList();
  
// Adding elements to LinkedList
// using add() method
ll.add("Geeks");
ll.add("For");
ll.add("Geeks");
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #add #items #linked #list #java
ADD COMMENT
Topic
Name
9+2 =