What does "non-primitive data type" means ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What does "non-primitive data type" means ??

thanks in advance

16th Apr 2017, 4:42 PM
Med Fares Omrani
Med Fares Omrani - avatar
6 Answers
+ 2
تعني أن المتغيرات غير أصلية أو ليست متغيرات خاصة بلغة البرمجة كمثال على ذلك string و class و struct و enumerated type و Object ... بينما المتغيرات الأصلية مثلا للغة البرمجة c++ فهي int , double , char , float , bool .
20th Apr 2017, 9:05 AM
‏‪‏‪عبدالله بوستة‬‏
‏‪‏‪عبدالله بوستة‬‏ - avatar
+ 14
Those datatypes which are user defined. eg. class, structure (in C), enumeration, interface (in Java) etc
16th Apr 2017, 4:50 PM
Sachin Artani
Sachin Artani - avatar
+ 7
non-primitive data types are not defined in the programming language but are instead created by the programmers. objects of classes are examples of non-primitive data types.
16th Apr 2017, 4:47 PM
Nikunj Arora
Nikunj Arora - avatar
+ 2
Data types which are not defined by the programming language but are instead created by the user are called non-primitive data types ex: in Java, we often call them "Objects"
16th Apr 2017, 4:50 PM
Santosh Pothina
Santosh Pothina - avatar
0
Non primitive data types are not defined by the programming language , but are instead created by us (programmer). They are sometimes called reference variables or object references since they reference a memory location, which stores the data.
18th Apr 2017, 11:10 PM
Utkarsh kumar
0
I am not sure,was about to ask that
28th Oct 2017, 5:08 AM
Mel