Please enable JavaScript.
Coggle requires JavaScript to display documents.
object oriented programming - Coggle Diagram
object oriented programming
class
used to create new object that share its attributes and methods
instantiation
the process of making an object from a class
sub-class
a class that share the attributes and methods of a parent class but has its own as well
inheritance
the fact that the attributes and methods are "passed down" by the parent class to the sub-class
poly-morphism
the ability to edit one of its parent classes methods
object
method
an action that an object can carry out on command
getter method
allows to read an attribute from a class
setter method
allows for changing the values of an attribute in the class
constructor
used to create a new object from a class
attribute
one of the objects features
private
all attributes are private which means they can only be edited by the user through the use of setter methods
despite the fact python can do OOP it is very complicated so advised not to use python
use pseudocode instead