The BlueJ User Manual

For COMP111 Students at Franklin University

Getting Started

* Create a Java class

- clear the contents in the editor, and type in the following codes

/**

 * A Demo Java Program

 * @author Xiao Xie

 * @version 05-26-2016

 */

public class HelloWorld

{

   // Print HelloWorld in the console

    public static String mainStr ="HelloWorld";

    public static void main (String[] args)

    {

        System.out.println(mainStr);

    }

}

Now let's take a look at the document for this program!

Go to Previous                                                                               Go to Next

Navigation

To help you get started with the BlueJ, a simple java program will be demonstrated step-by-step as the following:

* Create a Java project

* Create a Java class

* Run a Java program

* Run a JUnit test

* Submit a Java program to Web-CAT