Java Java Basics Perfecting the Prototype Parsing Integers

i dont know whats wrong

String answerToLife = "42"; int answer = Integer.parsInt(answerToLife);

ParsingInts.java
String answerToLife = "42";
int answer = Integer.parsInt(answerToLife);

1 Answer

Rajbie Sarwar
Rajbie Sarwar
1,337 Points

Check you syntax. Maybe the error message will give you a hint.