Question: INFO: QUESTIONS: You are required to develop a program (using JAVA) for one of the following situations (refer to Appendix 1): 2. Grocery Shop Your


You are required to develop a program (using JAVA) for one of the following situations (refer to Appendix 1): 2. Grocery Shop Your program should have a super class and two subclasses which the two subclasses are interrelated with the super class. All classes must provide complete methods. Show at least one method in both subclasses which use the same method name. Put that method as abstract method in the super class. You also must create a custom(user-defined) Exception class which relevant to your program. Create a driver program to receive minimum of 4 different objects. Your driver program should answer several unique questions which covers all classes. Please provide three questions which one of the questions use the abstract method. Use the casting methods in the main program as an alternative in searching process. 1) Analysis and Concept Implementation: (Describe the problem including input and output in your own words. Also, tell which OOP concept implemented in this problem) 2) Implementation: (Describe how the problem is solved-use which functionalities of language construct of JAVA) 3) Coding: (Copy and Paste Source Code here. Format your code using Courier 10pts) 4) Testing and Output: (Describe how you test this program and show the output)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
