English

Can a class be referred to as user defined data type? Comment. - Computer Applications

Advertisements
Advertisements

Question

Can a class be referred to as user defined data type? Comment.

Short Answer

Solution

  1. Users can design their own data types with specific features and behaviour, similar to standard data types such as int, char, and float.
  2. When a class object is formed, it instantly gets its traits and behaviours.
  3. The term "user-defined data type" refers to a class constructed by the user by combining primitive data types.  
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 383]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×