From 290b6268a6ee9a24b95438e093f45f5a66a3559b Mon Sep 17 00:00:00 2001 From: J053Fabi0 Date: Sat, 30 Dec 2017 21:37:37 -0700 Subject: [PATCH] I just hope isn't too much --- pages/common/java.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/java.md b/pages/common/java.md index 5222ddf67..af90e8fe4 100644 --- a/pages/common/java.md +++ b/pages/common/java.md @@ -4,7 +4,11 @@ - Execute a java .class file that contains a main method by using just the class name: -`java {{filename}}` +`java {{classname}}` + +- Custom input and output files. Preferably .txt files. This is useful when you don’t want to input from keyboard every time you run your class. Outputs from `System.out.println();` are saved in the output file: + +`java {{classname}} <{{path/to/inputfile}}> {{path/to/outputfile}}` - Execute a .jar program: @@ -13,7 +17,3 @@ - Display JDK, JRE and HotSpot versions: `java -version` - -- Custom input and output files. Preferably .txt files: - -`java {{classname}} <{{path/to/inputfile}}> {{path/to/outputfile}}`