I created two arrays in that stored two array of string values now I want to compare by using if condition please help me.
I did like this....
String[] source={"Chennai","Bangalore","Hyderabad"};
String[] destination={"Chennai","Bangalore","Hyderabad"};
if(source[0] == "Chennai" && destination[2] == "Hyderabad") {
//Here i want to print some thing
}