0
What is data types
Data types is what kind of data you store:String :a sequence of character "abcde " integer : a number 3,4,2 Float:a not complete number 1.2 , 1.0 2.0, 3.333334 Data types 1) Int 2)Double 3)Char 4)String
1 Respuesta
0
Data types is an attribute of data which tells the compiler or interpreter how the programmer intends to use the data.
1) int
int full form was integer means those number you see daily life 1,2,3,4,5.
2) Double
Double was number like integer but it contains decimal places, 1.2, 2.345, 3.142.
3) Char
Char is a single character, ex: A , B , C, D.
4) String
When 2 or more characters combine into a sentence, it called string, ex: Hi, im robin, good luck, welcome.
For more references, please visit:
https://en.wikipedia.org/wiki/Data_type