arrays we're going to provide gradual introduction to an object-oriented approachusing two steps in the firstwe'll separate the data storage structure (the arrayfrom the rest of the program the remaining part of the program will become user of the structure in the second stepwe'll improve the communication between the storage structure and its user dividing program into classes the array java program in listing essentially consists of one big method we can reap many benefits by dividing the program into classes what classesthe data storage structure itself is one candidateand the part of the program that uses this data structure is another by dividing the program into these two classeswe can clarify the functionality of the programmaking it easier to design and understand (and in real programs to modify and maintainin array java we used an array as data storage structurebut we treated it simply as language element now we'll encapsulate the array in classcalled lowarray we'll also provide class methods by which objects of other classes (the lowarrayapp class in this casecan access the array these methods allow communication between lowarray and lowarrayapp our first design of the lowarray class won' be entirely successfulbut it will demonstrate the need for better approach the lowarray java program in listing shows how it looks listing the lowarray java program /lowarray java /demonstrates array class with low-level interface /to run this programc>java lowarrayapp ///////////////////////////////////////////////////////////////class lowarray private long[ /ref to array //public lowarray(int size/constructor new long[size]/create array //public void setelem(int indexlong value/set value [indexvalue//public long getelem(int index/get value return [index]/