+ 1

What is meant by data type?

16th Jul 2017, 10:03 AM
Kumudavalli H
2 Answers
+ 8
a particular kind of data item, as defined by the values it can take, the programming language used, or the operations that can be performed on it. Example integer, float, boolean, string, character
16th Jul 2017, 10:17 AM
Apoorva Shenoy Nayak
Apoorva Shenoy Nayak - avatar
+ 2
In the computers the data is represented in specific ways. Primitive (value) types (data on the stack): bits length 8 16 32 64 numeric types byte short int long float double Reference (real) type (data on the heap), where the stack holds the reference (the address) to the real data in the heap: Classes, Interfaces, Objects, Arrays, Strings...
16th Jul 2017, 10:40 AM
Boris Batinkov
Boris Batinkov - avatar