Java - Check the sum of all 10s in the array is exactly 30

Java - Check the sum of all 10s in the array is exactly 30

More to explore

Based on this image's title: “Java - Check the sum of all 10s in the array is exactly 30