* 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
{
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!
To help you get started with the BlueJ, a simple java program will be demonstrated step-by-step as the following: