Showing posts with label java LinkedList. Show all posts
Showing posts with label java LinkedList. Show all posts
Monday, July 18, 2011 2 comments

CHALLENGE:Intermediate Java Tut 6-LinkedList

The following is a challenge for new developers that have completed:
Intermediate Java Tutorial - 6 -LinkedList by theNewBoston
 

CHALLENGE!!
(Before starting any of the challenges always declare a class and a main method unless told otherwise)
 Difficulty:
1. Create a String array named "things" with 5 items.
2. Create a new LinkedList named "list1"
3. Create a For loop that adds the items from the array "things" to "list1"
4.Create a String array named "things2" with 4 items.
5.Create a new LinkedList named "list2"
6.Create a For loop that adds the items from the array "things2" to "list2"
7. add all the items on list2 to list1
8.Set list2 to null

View the video tutorial: http://youtu.be/BRcY2vIr-EQ
Text walkthrough of this tutorial: Coming Soon!!!
 
;