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!