English

Array is a non-primitive data type. - Computer Applications

Advertisements
Advertisements

Question

Array is a non-primitive data type. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is True.

Explanation:

In Java, an array is a non-primitive data type since it is an object that may hold numerous items of the same type (for example, int, char, or String). Arrays, unlike primitive data types (int, char, boolean, and so on), are reference types that hold the memory address of the elements rather than the actual values.

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Library Classes - EXERCISES [Page 177]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 2 Library Classes
EXERCISES | Q III. 3. | Page 177
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×