3 ms·
OK, thanks! I didn't realize it is possible, I haven't seen code that uses this technique.
by js8 6y ago
OK, thanks! I didn't realize it is possible, I haven't seen code that uses this technique.
- watwut 6y agoTypically nested classes in Java make it harder to follow what each class does, where it ends and starts. The files then tend to become too big and at worst end up cross referencing each others privates too much. At least, that is my experience with code that uses nested classes all the time and - I am slowly refactoring it to split classes into separate files.