Data type is a common terminology in programming languages. Variables are declared to be of a particular ‘data type’. These declarations means that the variables can assume values only from a particular set. The type of variables determines that ‘set’. However a type is not only a set of values, a type also determines the set of operations applicable to the set of values. Thus, for ‘int’ the operations such as addition, subtraction, multiplication, division etc. are applicable. Although most programming languages support some standard ‘data types’, but they are not enough for most of the application. So, programming languages support usually creating new data types in terms of ‘structured types’. A ‘structured type’ is made up of several components each of which are either a primitive type or other ‘structured type’. This ‘structured type’ is called ADT.
|
No responses found. Be the first to respond and make money from revenue sharing program.
|