0

Hi All...

I am new to java, I am facing problem...
Problem: 1) I want to create a ArrayList <String> and add Strings into it.
problem: 2) I want to compare two Array List elements . their size and contents (strings type) which may be stored in any order.
For example

List<String> strlist = new ArrayList<String>(); 
List<String> strlist1 = new ArrayList<String>();

I want to compare the size and Elements in strlist and strlist1.

Please help me out...:(
Thanks in advance!

Edited by peter_budo: Code formatting

2
Contributors
2
Replies
3
Views
4 Years
Discussion Span
Last Post by myadav
0

Thanks ...This doc really helped.

Edited by myadav

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.