arrays the type of the array is changed to person the key field (the last nameis now string objectso comparisons require the equals(method rather than the =operator the getlast(method of person obtains the last name of person objectand equals(does the comparisonifa[jgetlast(equals(searchname/found itemthe insert(method creates new person object and inserts it in the arrayinstead of inserting long value the main(method has been modified slightlymostly to handle the increased quantity of output we still insert itemsdisplay themsearch for itemdelete itemsand display them all again listing shows the complete classdataarray java program listing the classdataarray java program /classdataarray java /data items as class objects /to run this programc>java classdataapp ///////////////////////////////////////////////////////////////class person private string lastnameprivate string firstnameprivate int age//public person(string laststring firstint /constructor lastname lastfirstname firstage //public void displayperson(system out print(last namelastname)system out print("first namefirstname)system out println("ageage)/