Java Program Framework


Here is the framework for a basic program in Java.

You can copy the text below into an editor, changing any text in red.

Save your file as YourProgramName.java after you have changed the name.

 

/************************************************/

/* Java Program Framework */

class YourProgramName

{

   public static void main (String args[])

   {

      // your code goes here!

      // your code goes here!

      // your code goes here!

   }

}

/************************************************/