Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.stream.IntStream;
import java.util.stream.Stream;

public class Main {
    public static void main(String[] args) {
        Stream.of("XML", "Java", "CSS").flatMap(name -> IntStream.range(0, name.length()).mapToObj(name::charAt))
                .forEach(System.out::println);
    }
}