A software developer. I'm interested in learning new technologies and core language features. I love to dive into legacy code writing tests and refactoring as I go.
I think another feature of static class is that private members are visible to the outer class. This allows for some convenient uses of a static inner classes. In the case of Builders there is no need to provide getters for the members of the Builder. The constructor of the outer class can access the private member varaibles directly.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think another feature of static class is that private members are visible to the outer class. This allows for some convenient uses of a static inner classes. In the case of Builders there is no need to provide getters for the members of the Builder. The constructor of the outer class can access the private member varaibles directly.