English

Differentiate between built-in data types and user defined data types. - Computer Applications

Advertisements
Advertisements

Question

Differentiate between built-in data types and user defined data types. 

Distinguish Between

Solution

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
  Is there an error in this question or solution?
Chapter 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [Page 384]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 6 Class as the Basis of all Computation (Objects and Classes)
EXERCISES | Q V. 2. | Page 384
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×