jspωiki
Data type

Overview#

Data type is a classification of data which tells the compiler or Observer how to use intends to use the data.

Compilers or Observers may interpret the Data type differently depending on the context

THere are several classifications of Data type:

Most programming languages support various Data types, for example: Classic basic primitive types may include:

  • Character (character, char);
  • Integer (integer, int, short, long, byte) with a variety of precisions;
  • Floating-point number (float, double, real, double precision);
  • Fixed-point number (fixed) with a variety of precisions and a programmer-selected scale.
  • Boolean, logical values true and false.
  • Reference data types (also called a pointer or handle), a small value referring to another object's address in memory or a perhaps a hyperlink. by-reference

A Data type provides a set of values from which an expression (i.e. variable, function ...) may take its values. The type defines the operations that can be done on the data, the meaning of the data, and the way values of that type can be stored

More Information#

There might be more information for this subject on one of the following: