Friday, August 16, 2013

Runtime overhead

Runtime overhead
Use of RAM for data and stack is called run-time overhead.

NULL

NULL
When a pointer points to NULL, it means there is no reference to the memory. A memory occupied by an element or object or data structure can be freed by pointing it to the NULL.

Local variable

Local variable
A variable defined within a function , and which no other function can modify. 

Reference Data Types

Reference Data Types
Array and strings are examples of reference data type.

Private

Private
A variable belonging to a specific class and not usable outside that class. 

Scalar Data Types

Scalar Data Types
The character, integer, unsigned integer, floating point numbers, long and double are called scalar data type, Unlike an array, data consist of one single element. 

Thursday, August 15, 2013

Class

Class
A named set of codes that has a number of members-variables, functions, ect, so that objects can be created from it.The operations are done on teh objects by passing the messages to the objects in object oriented programming. Each class is a logical group with an identity, a state and behavior specification.