Steps to creating a program with methods


Step 1: Design


Step 2: Create the class


Step 3: Create the structure

 

Step 4: Write comments


Step 5:  Code the parts (methods)

Inside the method brackets (the ones underneath the method) type the statements needed to  create the part.
  •   Inside the method brackets (the ones underneath the method) type the statements needed to  create the part.
  • Compile and see no errors.
  • You can also right click on the class in the BlueJ window and execute the individual methods to be sure they work on their own.

  • Step 6:  Call the parts (methods)

    Inside the main method brackets (the ones underneath the main method):