Advertisements
Advertisements
प्रश्न
Differentiate between built-in data types and user defined data types.
अंतर स्पष्ट करें
उत्तर
S. No. | Built-in data type (Primitive data type) | User-defined data type |
1. | These are basic data types supplied by Java. | These data types are user-defined. |
2. | These data types are accessible throughout all components of a Java program. | The availability of certain data types is based on their scope. |
3. | The size of certain data types (int, float, char, etc.) is constant. | The size of these data types is different. |
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?