hi i have more than 10 arraylist in my project, i need to compare all arraylist for their count(same or not). here i need shortest way to find that.
am not sorting i need to find length of all arraylist count(same or not).
hi i have more than 10 arraylist in my project, i need to compare
Share
Put them in an array and compare their counts:
Used like so: