·  JAVA – Application Type – Console

 

- Info:

  - This tutorial shows how to create "JAVA Console Application".

  - Console application uses command line to interact with the user.

 

- Example:

  - Create "JAVA Console Application" D:\Temp\Test.java

  - Start MSDOS

  - cd D:\Temp

  - javac Test.java

 

    Test.java

    public class Test {

 

      public static void main(String[] args) {

        System.out.println("Hello World.");

      }

 

    }

 

- Test:

  - Start MSDOS

  - cd D:\Temp

  - java Test

    Hello World.