You can rewrite it like that:
```java
public void setAnswers(String[] answers) { 
    this.answers = answers; 
    this.listOfAnswers = Arrays.asList(answers);
}
```