This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!

nissan Ca

Greenhorn
+ Follow
since Nov 04, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nissan Ca

Thank you for the quick reply, actually im a beginner
and i just want to explore the optimality of the code.
i tried initializing 10 arraylists here

but my desired output should be 10 different arraylists, example, list1,list2,list3,...,list10

6 years ago
I want to initialize arraylists inside a loop instead of initializing it one by one. is that possible?
the number of arraylists will depend on the user input, so for example the user input a value of 50, i want to simply initialize it inside a loop and will do the initialization of the arraylists.. how will that be possible that 50 different arraylists will be initialized?

Thankyou.
6 years ago