I do understand that there is no purely static way to access static members of non-static inner class.
I have further query: Is there a purely static way in which these static members in Super class be accessed? (Didn't find it across the net )
V Sa wrote:Inner classes may not declare static members, but may inherit static members that are not compile-time constants. I do understand that there is no purely static way to access static members of non-static inner class. But what I am not able to understand is why then can that same non-static inner class inherit static members. Can anyone explain this?
V Sa wrote:Inner classes may not declare static members, but may inherit static members that are not compile-time constants. I do understand that there is no purely static way to access static members of non-static inner class. But what I am not able to understand is why then can that same non-static inner class inherit static members. Can anyone explain this?
V Sa wrote:Is there a purely static way in which these static members in Super class be accessed? (Didn't find it across the net )
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|