Java Java Basics Perfecting the Prototype Parsing Integers

I need help with this question.

Create a new int variable that is named answer. Store the integer version of answerToLife in it.

I thought the result would be- String answer = Integer.parseInt(answerToLife);

ParsingInts.java
String answerToLife = "42";