When should you make an inner class?

Use a non-static nested class (or inner class) if you require access to an enclosing instance’s non-public fields and methods . Use a static nested class if you don’t require this access.

Sizin İçin Seçtik  Amortisman süresi bitince ne olur?

Leave a Reply

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