X1086: Change Even Rows

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 Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.