This is the one of the past exam question inJAVA programming paper.
Unfortunately, I have no answer sheet.
Could anyone please help me?
Thank you very much.
![Question 2: [40 marks] Open package question2, and you will find 5 java files in the package. For these 5 classes, Shape is a](https://media.cheggcdn.com/media%2Fe82%2Fe82564da-5b12-4d7b-b1b6-bc568f7f237c%2Fphph0xalU.png)
Question 2: [40 marks] Open package question2, and you will find 5 java files in the package. For these 5 classes, Shape is an abstract class, Circle and Rectangle are subclasses of Shape, Square is a subclass of Rectangle, and Q2Main is the main class of the program. In Q2Main,
PayPal Gateway not configured
PayPal Gateway not configured