The code shown here is from K&B chapter-8:Inner Classes, SelfTest Q No:12
from above example and the K&B book, i have understood some points about abstract regular inner classes, please verify whether is it correct or not.
1. If we make regular inner class as abstract then it is not necessary to make my outer class as abstract. It can be a normal class or an abstract class.
2. While making concrete subclass of my inner class either in same outer class or some other class, i shud have an instance of my outer class. For other classes, my outer class as well as my inner class shud be visible for them to make concrete subclass of my inner class.
3. Now concrete sub class of my innner class can access the instance variables of my outer class depending upon their visibility to concrete subclass.
4. If my concrete subclass of inner class is written in static method then this subclass cant access the instanse variables of my outer class using Outer.this reference.
Please correct if any of above my understanding is wrong.
Thanks in advance.