i am working on a java project, anyone got an experience on how to code the below description. am trying to read from an exsiting data that contains different item,want to be able to write a code to search through the data.
i am trying to write a method that searches for an item and returns a reference to the object. Use the reference returned by the method to display the object’s data (i.e. item details). If the item is not found then the method should return null and the ‘caller’ should display an appropriate message, e.g. “item not found”. [provide output]
thanks for your help
Bookmarks