The gorilla banana problem
You want to use Banana but end up importing Gorilla then the whole things that Gorilla depends on like other object states and environment i.e. jungles. This is a problem of ’tight coupling’ class inherit from class.
You want to use Banana but end up importing Gorilla then the whole things that Gorilla depends on like other object states and environment i.e. jungles. This is a problem of ’tight coupling’ class inherit from class.