/**
 * Project: Hello World Variations
 * Author: Molla Samser
 * Company: RSK World
 * Website: https://rskworld.in
 * Contact: +91 93305 39277
 * Support: help@rskworld.in
 * Year: 2026
 * 
 * Description: Demonstrates how to use a custom method to print the message.
 */

public class MethodHelloWorld {
    public static void main(String[] args) {
        printGreeting("Hello World!");
    }

    /**
     * Custom method to print a greeting message.
     * @param message The string to be printed.
     */
    public static void printGreeting(String message) {
        System.out.println(message);
    }
}
