Passengers reported hearing a loud bang before entering Breda station, in the south of the country.
Several panes of glass were broken, but only the outer layers of the windows were affected, with the inner layers remaining intact.
With the help of witnesses, police identified the boys, who allegedly had guns that could fire steel balls.
The police are investigating how they acquired the weapons. (dpa/NAN)