Robert Bosch Interview Question

method overriding program calculate length of an array without inbuilt functions