Need help on writing abstract class…
1) Change the superclass to abstract class and change the methodthat both of the subclasses override it to abstract. Add one moresubclass to the hierarachy so now it will be A, B, C, and D, andhave it to implement that abstract method.
2) Develop one class that is not related to inheritancehierarchy. ( NOT IN “IS-AS” relationship) but shares behavior withone of the subclasses.
3) Define one interface with @ least one method signature
4) have all classes ( at least one in the hierarchy and theunrelated class) share implement the interface to implement itsmethod.
All attributes must be
PayPal Gateway not configured
PayPal Gateway not configured