Extend Inner class along with outer class



If i extend a class I want to redefine the inner class as well with
previous variables and methods remaining same. How to do this.

Here is a skeleton code

class SuperClass {
int a;
class Innerclass {
int x;
/methods
}
// methods
}

class SubClass extends SuperClasss {
int b;
// InnerClass with more variables and methods + inherited
members
// more methods
}
.



Relevant Pages

  • Re: Cleaning up FILE in stdio..
    ... What would work, although it would be extra pain, would be to extend ... I guess we could add a _nfile that is an int, and try to keep _file up ... Newer apps would just always use _nfile. ...
    (freebsd-arch)
  • Re: Pre-PEP: Dictionary accumulator methods
    ... Default integer 1 arg creates initial int value ... Explicit list arg extends existing list with contents of increment list ... you can create and extend tuple ...
    (comp.lang.python)
  • Re: cant write bytes into files
    ... What he says is true for unsigned int. ... the conversion is done. ... For byte you sign extend for unsigned byte you don't ... I don't think that has anything to do with it since C had both 8 bit char ...
    (comp.lang.java.help)
  • Re: fibonacci sequence
    ... "Karl Heinz Buchegger" wrote in message ... > james wrote: ... Is there a way to extend the range of the int ...
    (alt.comp.lang.learn.c-cpp)