find average values Java code example Example: java code to calculate average of array java code to calculate average of array