Quick Contact

    Hibernate

    Hello Java Program

    To make a java program, we have to make a class that contains the main method.

    Requirements

    For executing any java program, you have to-

    • Install the JDK in the system.
    • Set path of the JDK/bin registry.
    • Make a java program.
    • Compile and Run the java program.

    First Hello program

    Class Hello{

    public static void main(String args[]){

    System.out.println(“Hello Java”);

    }

    }

    Hello Java Program

    To compile:

    javac Hello.java

    To execute:

    java Hello

    Output:

    Hello Java

    Apply Now for advanced JAVA Course

    Copyright 1999- Ducat Creative, All rights reserved.

    Anda bisa mendapatkan server slot online resmi dan terpercaya tentu saja di sini. Sebagai salah satu provider yang menyediakan banyak pilihan permainan.