listing arrays continued arr setelem(karr getelem( + )nelems--/decrement size for( = <nelemsj++/display items system out printarr getelem( ")system out println("")/end main(/end class lowarrayapp ///////////////////////////////////////////////////////////////the output from the lowarray java program is similar to that from array javaexcept that we try to find non-existent key value ( before deleting the item with the key value can' find classes lowarray and lowarrayapp in lowarray javawe essentially wrap the class lowarray around an ordinary java array the array is hidden from the outside world inside the classit' privateso only lowarray class methods can access it there are three lowarray methodssetelem(and getelem()which insert and retrieve an elementrespectivelyand constructorwhich creates an empty array of specified size another classlowarrayappcreates an object of the lowarray class and uses it to store and manipulate data think of lowarray as tool and lowarrayapp as user of the tool we've divided the program into two classes with clearly defined roles this is valuable first step in making program object oriented class used to store data objectsas is lowarray in the lowarray java programis sometimes called container class typicallya container class not only stores the data but also provides methods for accessing the data and perhaps also sorting it and performing other complex actions on it class interfaces we've seen how program can be divided into separate classes how do these classes interact with each othercommunication between classes and the division of responsibility between them are important aspects of object-oriented programming