Trying to run a simple file called Test.java from the cmd. by javac Test.java
it appears to run, but nothing is printed to the terminal?
public class Test {
public static void main(String[] args) {
Integer a = 1000, b = 1000;
System.out.println(a == b);
Integer c = 100, d = 100;
System.out.println(c == d);
}
}
Copyright Notice:Content Author:「JonCode」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/33904461/running-java-from-the-cmd