Data type and it is examples | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Data type and it is examples

3rd Jul 2017, 5:34 PM
Ramachandran
Ramachandran - avatar
2 Answers
0
Data type are means to identify the type of data and associated operations. Therefore, by assigning different data types to variables, you can store integers, decimals, or characters in these variables. There are two data types available in Java: 1)Primitive Data Types :- Byte Short Int Long Float Double Char Boolean 2)Reference/Object Data Types:- Classes Arrays Interfaces
4th Jul 2017, 5:19 AM
Priyanshu Singh
Priyanshu Singh - avatar
0
Primitive data types also include char and boolean.
4th Jul 2017, 6:53 AM
Hema Siva
Hema Siva - avatar