Java Java Basics Perfecting the Prototype Parsing Integers

I am getting "Did you use the static method of Integer class" error Kindly help

I am getting "Did you use the static method of Integer class" error Kindly help

ParsingInts.java
String answerToLife = "42";

int anwser = Integer.parseInt(answerToLife);

1 Answer

Brendan Whiting
MOD
Brendan Whiting
Front End Web Development Treehouse Moderator 84,134 Points

The error message is complaining about the wrong thing. You spelled 'answer' wrong, the variable name, the challenge needs that.