Create an interface namely “SuperMarket”. The “SuperMarket” has three methods namely getMethod and putMethod and searchData. Create a class which implements the interface as following.
The getMethod should used to store item_id s to an array
The putMethod should print the “item found” and “item not found” message based on the search
The searchMethod should search for particular item_id is present or not in the array
Answers
Answered by
0
Explanation:
jejdjejjejehejjrjjrujtjjt
Similar questions