Why inner classes are avoided in Python?

If an object is created using child class means inner class then the object can also be used by parent class or root class. A parent class can have one or more inner class but generally inner classes are avoided. We can make our code even more object oriented by using inner class.

Sizin İçin Seçtik  How do you call a class function from another class function?

Leave a Reply

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