Hello,
I have learnt the principles of object oriented programming well and I think have a good understanding of the concepts -
polymorphism, interfaces, abstract classes, inheritance, encapsulation etc. But when I am asked a question in an interview, like how to design "Cards" or a "Zoo", I am not able to come up with answers. When I start thinking about a design, for example Zoo, I just think Animal class, Lion class etc. One or two of the classes might make sense but I know I am not really understanding the problem and coming up with the best solution. I just think in terms of classes because that's the only thing that comes to mind.
How do I start getting better at this? I don't have a job where I can learn this, but I really want to learn this.
Thanks,
Prasanna