You don't need those "super" keywords.
Instances of C are also instances of B and they are also instances of A. So it is perfectly acceptable (and clearer) to write
package inheritance;
...
Type: Posts; User: pbrockway2
You don't need those "super" keywords.
Instances of C are also instances of B and they are also instances of A. So it is perfectly acceptable (and clearer) to write
package inheritance;
...
Your original post suggests you want B to extend A, and C to extend B. And that's fine - ie the following compiles:
class A {}
class B extends A {}
class C extends B {}
Java doesn't...