add method

void add(
  1. String item,
  2. int person
)

Adds the answer (item) to the list of answers on the zero-based position corresponding to the person of the conjugation

Implementation

void add(String item, int person) {
  _actualItems[person] = item.trim();
  _score = 0;
  for (int i = 0; i < _actualItems.length; i++) {
    if (_actualItems[i] != "" && _actualItems[i] == _expected[i]) {
      _score++;
    }
  }
}