As long as you can understand how to call it. Message.java
// Message.java: Simple Method Useclass Message {public static void main (string [] args) {system.out.println ("Hello Debra!"); PrintMessage (); // method call system.out.println (" Goodbye. ");} // definition of method printmessage static void printmessage () {system.out.println (" a message for you: "); System.out.Println (" Have a nice day! / N "); }