1. What is the difference between a superclass and a subclass?
2. Since a subclass does not inherit the superclass’s constructors and private data fields, how does the subclass’s constructor initialize those data fields?
3. Must a constructor’s definition in a subclass explicitly invoke a constructor in the superclass by using super? Explain.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here