Extend Inner class along with outer class
- From: riva <ra.ravi.rav@xxxxxxxxx>
- Date: Wed, 21 Nov 2007 03:31:01 -0800 (PST)
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
}
.
- Follow-Ups:
- Re: Extend Inner class along with outer class
- From: Roedy Green
- Re: Extend Inner class along with outer class
- From: Piotr Kobzda
- Re: Extend Inner class along with outer class
- Prev by Date: SEI CMM Level 5 Company is looking for Java Professionals....Mumbai
- Next by Date: Re: main class and static
- Previous by thread: SEI CMM Level 5 Company is looking for Java Professionals....Mumbai
- Next by thread: Re: Extend Inner class along with outer class
- Index(es):
Relevant Pages
|
|