Java Chapters

Java Program that prints your name and Address

Structure of JAVA Programs - Overview
public class Program {
    public static void main( String[] args ) {
        System.out.println( "Name : David" );
        System.out.println( "Address : City of London Guildhall, PO Box 270 London EC2P 2EJ" );
    }
}

Output :
Name : David
Address : City of London Guildhall, PO Box 270 London EC2P 2EJ

Leave a comment
Recent Comments
No Comments