Back to category: Technology

Limited version - please login or register to view the entire paper.

Object Oriented Programming.

Class:

A class is a general specification of a set of objects that defines their common structure (data), behaviour (methods) and relationships. For example

Object:

An object is an abstraction or simulation of physical things such as people and machines or intangible things such as events or processes that captures their characteristics and behaviour. An object has state, behaviour and identity e.g.

Persistence:

Persistence allows the state of the object to be saved to non-volatile storage such as a file or database and later restored even though the original creator of the object no longer exists. An example would be

Encapsulation:

This is a modelling and implementation technique, known as information hiding, which separates the external aspects of an object from the internal implementation details of the object e.g.


Inheritance:

Inheritance is a relationship between classes where one class is a parent of another. It implements “is a” relationships ...

Posted by: Jason Cashmere

Limited version - please login or register to view the entire paper.