Favor composition over inheritance
Inheritance of classes is not always a good idea, sometimes you need to consider the composition as well.
Let's discuss one of the important design principles, for writing more clean, reusable, and extensible code -
Suppose you are running a vehicle ...
blog.athmaweb.site2 min read