Contact: aviboots(AT)netvision.net.il
39,860 questions
51,781 answers
573 users
import java.util.Arrays; public class MyClass { public static void main(String args[]) { int arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; Arrays.stream(arr).forEach(e->System.out.print(e + " ")); } } /* run: 1 2 3 4 5 6 7 8 9 10 */