SyntaxFix
Write A Post
Hire A Developer
Questions
There is no need to write any code, just in cmd on the console you can write:
javac myFile.java java ClassName > a.txt
The output data is stored in the a.txt file.