Classes, Attributes, Methods, Parameters, Arguments

By Chris Lipinski · · 1 min read

Class

In object-oriented programming, a class constructor allows for object initialisation.

Attributes

Class attributes can be used to store class constants, track data across all instances, and define default values.

Methods

Class methods are used to access or modify the class state.

Parameters and Arguments

Parameter is used to describe the names for values that are expected to be supplied. Argument is used for the values provided for each parameter within an instance.