| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions! Dokkio, a new product from the PBworks team, integrates and organizes your Drive, Dropbox, Box, Slack and Gmail files. Sign up for free.

View
 

Java Program Framework

Page history last edited by Steve Sweeney 5 years, 2 months ago

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!

   }

}

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

Comments (0)

You don't have permission to comment on this page.