Is nested class good practice?

Nested Class can be used whenever you want to create more than once instance of the class or whenever you want to make that type more available. Nested Class increases the encapsulations as well as it will lead to more readable and maintainable code.

Sizin İçin Seçtik  Can we use class in class?

Leave a Reply

Your email address will not be published. Required fields are marked *