Sunday, 29 September 2013

Inner class & Outer class- Stacic blocks and methods

Inner class & Outer class- Stacic blocks and methods

Suppose there are static blocks in inner class and its outer class. Are
all the static blocks called first?? or just the static blocks of outer
class be called only?? And what about static methods in both the classes??

No comments:

Post a Comment