Tata Steel interview question

Write a code in Java to find the mean of an Array

Interview Answer

Anonymous

14 May 2025

Simply add all the number's of Array and divide it by n, where n is length of the array