KnowledgeBoat Logo
|

Computer Applications

Which of the following is user-defined data type?

Which of the following is user-defined data type. ICSE 2025 Computer Applications Solved Question Paper.
  1. only 1
  2. 1 and 3
  3. only 2
  4. only 4

Values & Data Types Java

6 Likes

Answer

1 and 3

Reason — A user-defined data type is a data type defined by the user. In the given options, array and class are user-defined data types because they are created by the user to store multiple values or define their own structure. double and boolean are predefined (primitive) data types.

Answered By

2 Likes


Related Questions