Searching for: Class and Instance Variables in C++
Used to create an object (class instance) from a class.
A constructor is a special method that builds the instance of an object when a new object is created.
A function is a block of code that can be called from another location in the program or class. It is used to reduce the repetition of multiple lines of code. The return statement concludes the execution of the block of code. The function can either return a value (of dataType, declared in the function header), or return nothing (use the 'void' dataType). Within classes, functions are known are 'Methods'.