Programming Theory

HideShow resource information

Classes

Classes can be considered as templates, inside which objects (ie variables) can be created and manipulated. The flow of logic within a class can be manipulated by the program's use of an input, through methods that can be 'called' (triggered).
Objects inside classes can only be accessed within the class itself, although values can be passed between classes by other means. 

In object-based programming, values stored in memory have a value that uniquely identify them, and are known as objects.

Constructors

Constructors are lines of code that create and define 'objects' (variables).
These define the type of data which the variable can store, and the arguements that can be taken by the variable
.


Compilation

In order for a program to be used by a computer, it must be converted into a form readable by the computer. This is

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Software resources »