Here are the new tools you need for your Java methods quiz

Work with methods

Here are older tools you will still be using on your methods quiz:

public class MyClassName
{
     // you can define a class variable here
     public static void main( )
     {

           // your statements will go here
           // your calls to method1 will have the form: method1()
     }
     public static void method1( )
     {

           // your statements will go here
     }
}


Loops

For loop - repeats when you know the number of times to repeat


for (statement to start the loop; condition that evaluates to true or false; statement to run when the loop repeats)
{
// do something
}

What you need to know:

FOR coding helps: (but not needed explicitly for the test)

You probably need to memorize this