java - How to perform a method on multiple arrays? -
The method takes an array in the form of an argument I am trying to implement it in Java. I believe this can be achieved by creating an array list, but I am doing a blank illustration.
Thoughts:
for (i = 0; i
For better use ArrayList like: Arreelist & lt; ArrayList & gt; Lists = new arreelists & lt; ArrayList & gt; (); then:
for (arrelist list: list) {method (list); }
Comments
Post a Comment