Solved

When Creating a String Object,if a Character Array and Two

Question 15

Multiple Choice

When creating a String object,if a character array and two integers are passed to the String constructor,then the created String contains:


A) the characters of the array from the index specified by the first integer for the number of characters represented by the second integer.
B) the characters of the array from the index specified by the first integer to the index specified by the second integer.
C) all of the characters except those between the indices represented by the two integer values.
D) None of the above.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents