Add Code For implementation method in class Array.