i have this 2d array:
String[][] testData= {
{"s", "y", "r"},
{"s", "n", "r"},
{"w", "y", "r"},
{"s", "n", "r"}
};
how can i count the occurrence of a particular element in the column of an array?
for example i want to know how many "s" are in first column of testData
please help..........:(
thank you: