Common forms of static methods: Public static returntype Identifier (parameterlist) Block method definition The parameter of the formal parameters key PUBLIC is optional, but the main () method must have public modifications. Static is a must, you can't forget. Message2.java
// Message2.java: method parameter useclass message message2 {public static void main (string [] args) {system.out.println ("Hello Debra!"); PrintMessage (5); // Actual Argument is 5 System.out. Println ("Goodbye.");} Static Void PrintMessage (INT HOWMANYTIMES) {// Formal Parameter Is HowManyTimes System.Out.println ("a message for you:"); for (int i = 0; i