private void intStream(){
  int[] ints=new int[]{10,20,30,40,50};
  IntStream intStream=IntStream.of(ints);
  intStream.forEach(null);
  IntStream intStream2=IntStream.of(10,20,30,40,50);
  intStream2.forEach(null);
}

private void intStream ( ) { int [ ] ints = new int [ ] { 10 , 20 , 30 , 40 , 50 } ; IntStream intStream = IntStream . of ( ints ) ; intStream . forEach ( null ) ; IntStream intStream2 = IntStream . of ( 10 , 20 , 30 , 40 , 50 ) ; intStream2 . forEach ( null ) ; }
creating stream of ints - intstream
