Advertisements
Advertisements
प्रश्न
Write one difference between primitive data types and composite data types.
Differentiate between primitive type and composite type data.
अंतर स्पष्ट करें
उत्तर
Sr. No. | Primitive data types | Composite data types |
1. | They are predefined/inbuilt data types. | The user defines these data types and comprises primitive data type values. |
2. | Examples: int, byte, long, short, char, float, double, boolean. | Examples: Array, class, interface. |
3. | System developers define primitive data types. | Users define composite data types. |
shaalaa.com
Classes as an Object Factory
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.03: Values and Data Types - Review Insight [पृष्ठ ३१]