Friday, March 21, 2008

Programming with Java

Hello everyone! Recently our class has been working on several programs working with Java. So far, we have coded a standard "Hello World" test, simple calculation programs working with area/dog years, and experimenting with basic input and output. Below is the code and screen capture of the "Hello World" program.


/* Program to display the traditional Hello WOrld! message. */
/* Eliza Labrador */
/* March 2008 */

public class HelloWorld {
public static void main (String args[])
{
System.out.println ("Hello World!");
System.out.println ("by");
System.out.println ("Eliza Labrador");
}
}

Until next time!
--->Eliza!

No comments: