Please enable JavaScript.
Coggle requires JavaScript to display documents.
OOP Characteristics (Encapsulation (Encapsulation is capturing data and…
OOP Characteristics
-
Inheritance
This is the process by which a class can be derived from a base class with all features of base class and some of its own. This increases code reusability
Polymorphism
This is the ability to exist in various forms. For example an operator can be overloaded so as to add two integer numbers and two floats
-
Polymorphism allows an object to be processed differently by data types and/or data classes. More precisely, it is the ability for different objects to respond to the same message in different ways. It allows a single name or operator to be associated with different operations, depending on the type of data it has passed, and gives the ability to rede'ne a method within a derived class.
-
-