Add a new method called print()
The print() method is similar to the display method, but it willprint the data to a file called “mydata.txt” rather then to thescreen
The file should append new data every time the print() method iscalled, and not replace it
2. Create a subclass
Create a sub class that inherits everything from your baseclass. (For example, if cell phone is the base class then smartphone could be your sub class)
Provide at least one additional attribute to your subclass
Create gettter/setter methods for it.
Create a default constructor for the subclass, that usessuper to call the base class defaultconstructor.
It should set all
PayPal Gateway not configured
PayPal Gateway not configured