The object oriented approach to working with arrays