Java
1) Write a program for following inheritance problem:
● Create method show() in each class/interface to print the name of the class.
● Call show() of class F using object of class G
You cannot define F as interface.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.