Among object-oriented languages, one feature that variesconsiderably is whether the language allows multiple inheritance.C++ does but Java does not. Explain with code examples thatyou have written to demonstrate how Java accomplishesinheritance. In a way, this discussion is a continuationof the discussion board post from the previous week.Explain with the use of interface and super and subclassexamples. One Java class can extend a superclass and alsocan implement an interface.
1. Write Java code with one interface and one method in thatinterface.
2. Write one Java class that is abstract with one method.
3. Write one Java class that extends from the abstract class andimplements
PayPal Gateway not configured
PayPal Gateway not configured