DEV Community

Murali Rajendran
Murali Rajendran

Posted on

Data Types

Types
1.Primitive data types-Primitive data types store value to Stack in RAM.
2.Non- Primitive data types- store value to Heap in RAM.
Primitive data types:
1.int
2.char
3.byte
4.short
5.long
6.double
7.boolean
8.float
Good Developers must know how to use data type in efficient way to manage memory allocation.

Top comments (0)