Why is it allowed for inner classes???
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?
Ruben Soto wrote:
rhett howard wrote:
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.