Create test.java

java program