This post originated from an RSS feed registered with Java Buzz
by Arpit Mandliya.
Original Post: How to create list of lists in java
Feed Title: Java tutorial for beginners
Feed URL: http://feeds.feedburner.com/arpitmandliyasblog
Feed Description: A blog about java programming language and its frameworks
In this posts, we will see how to create a list of lists in java. You can easily create a list of lists using below syntax One of the Usecase: This is generally useful when you are trying to read a CSV file and then you need to handle list of lists to get it in memory, perform some processing and write back to another CSV file. Let’s take a simple example for list of lists. When you run above program, you will get below output. Delhi Mumbai Beijing Shanghai Question on list of lists Can you instantiate