English

A string internally creates: - Computer Applications

Advertisements
Advertisements

Question

A string internally creates:

Options

  • An integer array

  • A numeric array

  • A character array 

  • A double type array 

MCQ

Solution

A character array

Explanation:

Most programming languages (including Java) store strings internally as character arrays. Each character in the string is part of this array. The string is essentially a series of characters stored in a contiguous memory block as an array of characters.

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 286]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q I. 2. | Page 286
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×