int[] arr = { 1, 2, 3, 4, 5 }; List lisOfInt = Stream.of(arr).flatMapToInt(i -> Arrays.stream(i)).boxed() .collect(Collectors.toList()); Optional multiply = lisOfInt.stream().reduce((a, b) -> a * b); if (multiply.isPresent()) { System.out.println("Multiplication of each element of array is : " + multiply.get()); } else { System.out.println("ERROR"); }
Nice video but your voice is not clear
Thank you for your hard work
Are you going to provide the code? GitHub or any other place where you are putting your code?
Please reply!!!!!!!!
content is very good, but audio seems to be improved, please make it once observed
Good explanation 👍🏻👍🏻
Thanks for the feedback Shashi.
Can you please use a good mic or use the head phone mic in a proper way, would really upgrade your videos.
Will work on it Krishanu.
Thanks for the feedback.
If you are interested to share your knowledge, pls concentrate on your voice and explanation
Thanks for the feedback Kiran,
We are working on it.
please use good mic
Sure Vishal,
Thanks for the feedback
Voice is not proper buddy
sound quality is too bad
Voice quality is pretty bad. Not able to understand anything.
Bro your voice is coming so bed
int[] arr = { 1, 2, 3, 4, 5 };
List lisOfInt = Stream.of(arr).flatMapToInt(i -> Arrays.stream(i)).boxed()
.collect(Collectors.toList());
Optional multiply = lisOfInt.stream().reduce((a, b) -> a * b);
if (multiply.isPresent()) {
System.out.println("Multiplication of each element of array is : " + multiply.get());
} else {
System.out.println("ERROR");
}