Hey everyone. I just want to see if I have my OOP concepts right or not. If I'm wrong about any or all of them, which I'm pretty sure I have one or more of them that I need to go over a few more times, please let me know and correct me.

Let's see, first there's encapsulation. The process of "data hiding." This is controlled with access modifiers (public, private, and protected).

Inheritance is the process of deriving a class from a base class. The base class usually contains very generic data that can be used in more abstract and specific derived classes. Any private members in the base class can be used in the derived class.

Polymorphism, I think, is where a derived class can also be a type of any of its base classes because it works like a tree. A derived class of Bear is derived from Animal hence Bear can be a Bear or an Animal type.

Please let me know if I'm missing something or are off track on anything. Thanks a bunch.