Space Breaking News:

Code

Java Program2

To run program compile: javac Program2.java
Then run the class with:   java Program2

Java Program1

To run program compile: javac Program1.java
Then run the class with:  java Program1

If you get the following error:

From windows command prompt enter this command: