Privacy Policy Terms Of Use. Copyright © 2006-2010 Java Tutorials and Examples.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
- /*
- Java Hello World example.
- */
- public class HelloWorldExample{
- public static void main(String args[]){
- /*
- Use System.out.println() to print on console.
- */
- System.out.println("Hello World!");
- }
- }
- /*
- OUTPUT of the above given Java Hello World Example would be :
- Hello World!
- */

Post new comment