Java, Programming Languages, Programming, Inheritance, Computer Science.
to another type. super is used to access superclass methods and constructors, not to change the type of the reference. In Java, you cannot use super.super or this.super. These combinations are invalid and will not compile. You cannot use both this() and super() calls in the same constructor because