Please enable JavaScript.
Coggle requires JavaScript to display documents.
4 characteristics of OOP (encapsulation (excapsulation is capturing data…
4 characteristics of OOP
-
inheritance
this is the process by which a class 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
polymophism allows an object to be processed differently by data types and/or data classes. more precisely, it is the ability for different ways. it allows a signle 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.
-
-
-