I have created :
LinkedList<LinkedList<Object>>
I know how to implement Iterable for regular linked list in order to iterate.
However, how can I implement Iterable in order to be able to iterate over my collection when it is 
LinkedList<LinkedList<Object>> ? 
				
                        
Iterableis a generic interface. Since you want to iterate over aLinkedList<LinkedList<Object>>, you can implement the interface with the type parameter set toLinkedList<Object>.Sample runnable class:
Output: