Please enable JavaScript.
Coggle requires JavaScript to display documents.
OOP - Coggle Diagram
OOP
Advantages
-
-
-
Easier to segment into seperate, dedicated parts
-
Structure
-
Objects
-
-
Constructor methods
Constructor functions are used to instanciate an object of a class. They define the variables/properties of an object upon creation. e.g. car-> red, 12bhp
Inheritance
Classes can have child classes that inherit some parts of their outline (parameters, attributes, etc...)
-