Thursday, 20 August 2020

FIRST JAVA PROGRAM FOR BEGINNERS

 PRINTING "Hello World" IN JAVA-

The elements of java used in this programming are -:

  1. System.out.println() --->> This COMMAND prints the output that you enclose in the brackets()
             EX. System.out.println("YOUR NAME");

             NOTE-: 1. The case of the letters of must  not be ignored.
                            2. The special character must not be changed.

PROGRAMMING -:


  package introduction;


   public class Helloworld {


public static void main(String[] args) {

System.out.println("Hello World, Eclipse Downloaded")

;


}


}

  •     PROGRAMMING IMAGE-:

   


  • OUTPUT (IN CONSOLE) -:

   

  THANK YOU

FOR VISITING





No comments:

Post a Comment

Popular