What are primitive data types? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What are primitive data types?

12th Mar 2017, 10:56 PM
School Dog
5 Answers
+ 2
primitive types are the predefined types or built in types, and which we cannot override them. those are like a int, bool..etc.
13th Mar 2017, 1:07 AM
venk120 Soft
venk120 Soft - avatar
+ 1
build-in types like int, char, float etc.
12th Mar 2017, 11:37 PM
Jakub Stasiak
Jakub Stasiak - avatar
+ 1
boolean, char, byte, long, short, double, float, etc. NOT String.
13th Mar 2017, 12:36 AM
David Koplik
David Koplik - avatar
0
David Koplik why not String?
8th Feb 2021, 5:27 PM
Aman sharma
0
Aman sharma string is otherwise array of characters. String is only a wrapper class for ease of use. So it's not a primitive since it's built on another type
13th Mar 2021, 8:38 PM
Jakub Stasiak
Jakub Stasiak - avatar