0
/ 50
The following method takes in a 2D array of characters. for each row at an even index, change every item in that row to '*'.
For example:...
The following method takes in a 2D array of characters. for each row at an even index, change every item in that row to '*'.
For example: For example, if we had an array like this...
```
char [][] arr = {
{'-','-','-'},
{'-','-','-'},
{'-','-','-'},
{'-','-','-'},
}
```
Running changeEvenRows(arr)
would result in the following array:
```
{
{'-','-','-'},
{'*','*','*'},
{'-','-','-'},
{'*','*','*'}
}
```
Your feedback will appear here when you check your answer.