Why is it allowed for inner classes???
All code in my posts, unless a source is explicitly mentioned, is my own.
rhett howard wrote:Thanks guys!!
That makes sense!! I wasn't really thinkin' about polymorphism inside a class.
Btw, If an inner class is abstract, does it make the enclosing class abstract too like with the instance methods?
All code in my posts, unless a source is explicitly mentioned, is my own.
All code in my posts, unless a source is explicitly mentioned, is my own.
Ruben Soto wrote:
rhett howard wrote:
Hi Ruben,
your instantiating the abstract inner class by using the outer class object. In that your implementing the abstract method.here my question is all inner class abstract methods must be implemented like that only???
i mean with in the braces used while instantiating abstract inner class.
Thanks®ards,
Nagaraju.
I know Life is very Tough...But I AM TOUGHER
SCJP 1.5
SCJP, SCWCD, OCUP
I know Life is very Tough...But I AM TOUGHER
SCJP 1.5
All code in my posts, unless a source is explicitly mentioned, is my own.
All code in my posts, unless a source is explicitly mentioned, is my own.
All code in my posts, unless a source is explicitly mentioned, is my own.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |