hello programmers
is it possible to extract some part of 2D array and make a new 1D array?
for example from this array
String[][] twoDarray= {
{"s", "y", "r"},
{"s", "n", "r"},
{"w", "y", "r"},
{"r", "y", "p"}};
take first column of twoDarray[0] and make this arrayString[] newArray = {"s","s","w","r"};
?