| 
  • 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. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Java Program Framework

Page history last edited by Steve Sweeney 5 years, 6 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.