HelloWorld.java :  » Database-DBMS » Ozone-1.1 » janalyzer » Java Open Source

Java Open Source » Database DBMS » Ozone 1.1 
Ozone 1.1 » janalyzer » HelloWorld.java
package janalyzer;

/**
 *
 * Date: May 13, 2002
 * Time: 12:17:38 AM
 * Test class to look at indentation and line separation
 */

public class HelloWorld
{

  private static String message;

  static
  {
    message="hello world";
  }

  public static void main(String[] args) {
    try
    {
      int i=0;
      do
      {
        printMessage(i+". "+message);
        i++;
      }
      while (i<10);
    }
    catch (Exception e)
    {
      e.printStackTrace();
    }
  }

  private static void printMessage(String message)
  {
    System.out.println(message);
  }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.