0

What is primitive variable and non-primitive variable

Every programming languages variable use for storing string data type,integar and float.

4th Mar 2018, 7:50 PM
Ihtisham Bashir
Ihtisham Bashir - avatar
2 Antworten
+ 2
primitives are not objects non..... are object (thus you can call it's methods.and .... like. String name = Ali; name.length();
4th Mar 2018, 8:54 PM
Farshaad Heydari
Farshaad Heydari - avatar
0
A primitive type (or built-in type) are types already defined by who made the language. Non primitive types (or user-defined type) are known as classes and are made by the programmer that uses the language
5th Mar 2018, 6:58 PM
Marco
Marco - avatar