Shraddha Bhalerao’s Post

A weekly Java Coding Series – program 133 averagingInt() method in Java - This method is present in Java 8 as part of the Stream API. It calculates the average of integer values from a stream. It removes the need for manual sum and count logic. It helps write clean, concise and more readable code. #java #softwaredevelopment #softwareengineer #linkedincreators #skilledshraddha Program and output –

  • graphical user interface, text, application, email

Thanks..Great its very clean code....just add "OrElse" to handle edge case

See more comments

To view or add a comment, sign in

Explore content categories