Computer Applications
A string internally creates:
- An integer array
- A numeric array
- A character array
- A double type array
Java String Handling
28 Likes
Answer
A character array
Reason — String data type creates a character array to store a set of characters in different cells.
Answered By
14 Likes
Related Questions
A string is:
- A set of letters
- A set of letters and digits
- A set of letters, digits and special characters
- All the above
If a string contains 12 characters, what will be the index of the last character?
- 12
- 11
- 10
- 0
What will be the value stored in the variable 'c' if the following statement is executed?
c = "COMPUTER".charAt("COMPUTER ".indexOf('P'))- 3
- 4
- P
- M
Which of the following functions is used to remove leading and trailing white spaces from the string?
- trim( )
- trail( )
- truncate( )
- slice( )