Java Java Basics Perfecting the Prototype Parsing Integers

how do i get my code to compile in workspace?

How do i get my code to compile while I am working in workspace?

ParsingInts.java
String answerToLife = "42";
Steve Hunter
Steve Hunter
Treehouse Moderator 57,657 Points

In a workspace or the challenge that this code relates to?

2 Answers

Arnold Adamson
Arnold Adamson
1,308 Points

javac ParsingInts.java perhaps ?

Bijay Sharma
Bijay Sharma
2,745 Points

Use a statement javac (filename).java in you console

For your current file the statement will be - javac ParsingInts.java