Java Basic 10: Hello World

11 January 2020, 7:31 pm by antelove19

Java programming language

Java programming language



Happy Coding


main.c

/* ------------------------------------------------------------ */
/*  Output string                                               */
/*  Using print(), println() and printf()                       */
/*                                                              */
/*  Author: antelove                                            */
/*  Website: antelove.com                                       */
/* ------------------------------------------------------------ */

public class Main
{

    public static void main(String[] args) {

        System.out.print("Hello World \n");

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

        System.out.printf("Hello World \n");    

    }

}

Thank for reading :)



No Action Title
1 Live
2 Editor
0 comment