I am reviewing the concept of inner classes in java. so far from what I've understood and applied java inner classes has a link or access to the methods and fields of its outer/ enclosing class.
My Question:
- When should create or define an inner class?
- are inner classes considered to be called as "Helper classes" ?
- What are the indicators for you to make an inner class and what's their other purpose?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…