Abhinay Gupta
Mar 27, 2024

--

But here the concrete class depends on other concrete class in the first case, doesn't this leads to tight coupling?
Also, in the first case also we will be not providing the material only in the case where the class itself doesn't require the material at the time of declaration, but this case should not be considered as we are just decreasing the number of classed M*F to M+F.

--

--

Abhinay Gupta

Exploring personal growth, tech, and culture through engaging storytelling | Inspiring and connecting with readers worldwide.