Java: limit to nest classes?
- by HH
A very poor style to code but sometimes unavoidable. It is an extreme example. So
is there some limit for nesting classes?
are they equivalent?
how do you deal with such situations? Create library?
Code
new FileObject().new Format().new Words().new Some().new Continue someThing;
((((new FileObject()).new Format()).new Words()).new Some()).new Continue someThing;