Hello, nooby question but anyway! Trying to understand the point of inheritance. If I have a class fruit, I can always create:
Fruit Banana(various parameters);
So why create a banana class if I can simply put everything into the fruit class? If so just keep breaking classes down more and more, the way I see it, we'll just end up with a bunch of unique classes only good for one thing, so what's the point?
Bookmarks