Unilag Csc Forum > Programming
JAVA - The Hello Program using System.out
Page 1 / 1
JAVA - The Hello Program using System.out
04/05/2011 4:54 pm

Administrator
Cool Senior Member


Regist.: 04/04/2011
Topics: 14
Posts: 15
OFFLINE
Hello there, you've finally made it to the section you've been waiting for.Note that the codes below are the solution to the problem above.

The java codes


import java.io.*;

public class Hello {
     public static void main(String[] args) {

          System.out.println("Hello World!");
          System.exit(0); // It terminates execution of Java's
                                 
     }
}


It would be best you understand what each line of code does by referring to the textbook.
Quote   
04/05/2011 4:59 pm

Administrator
Cool Senior Member


Regist.: 04/04/2011
Topics: 14
Posts: 15
OFFLINE

Forum's a very good platform for helping ourselves. Please post your topics and comments

Endevour to check out our page Unilag Csc Page
http://www.facebook.com/pages/Unilag-Csc-Page/199688396730767 and like it.

Also join our new group Unilag Csc Group http://www.facebook.com/home.php?sk=group_173783495983164&ap=1 strictly computer scientists and aspirants too.
Quote   
Page 1 / 1
Login with Facebook to post
Preview