+ 2
What are primitive data types?
5 odpowiedzi
+ 2
primitive types are the predefined types or built in types, and which we cannot override them. those are like a int, bool..etc.
+ 1
build-in types like int, char, float etc.
+ 1
boolean, char, byte, long, short, double, float, etc. NOT String.
0
David Koplik why not String?
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