Welcome to the Treehouse Community
Looking to learn something new?
LUIS Leiva355 Points
String answerToLife = "42"; int answer; int answer = Integer.parseInt(answerToLife);
james southFront End Web Development Techdegree Graduate 33,258 Points
you don't need the second line, you can declare and initialize variables in one line. type myVar = myValue