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?