import java.util.List;

/**
 * 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: Using Java Streams and Lambda expressions to print the message.
 */

public class FunctionalHelloWorld {
    public static void main(String[] args) {
        List<String> words = List.of("Hello", "World", "from", "Java", "Streams");

        // Use stream API to join and print
        words.stream()
             .forEach(word -> System.out.print(word + " "));
        
        System.out.println("\nPresented by RSK World.");
    }
}
