say I got an inner class and have method A, how can the outer class access method A?
posted 14 years ago
If all are non-static then new outer().new inner().methodA(); If all are static then outer.inner.method(); If outer is static and inner is non-static then outer.new inner().method(); If outer is non-static and inner is static then new outer().inner.method(); Hope this helps! Cheers! SriKi.