InterviewSolution
Saved Bookmarks
| 1. |
If only one parameter is passed to substring function then __________________(a) It returns the character at the specified position(b) It returns the string of length 1 from the specified index(c) It returns the string from specified index till the end(d) It returns the string from starting of string till the specified indexThis question was posed to me in examination.This intriguing question comes from String Class in section Inbuilt Classes of Object Oriented Programming |
|
Answer» The CORRECT option is (C) It returns the string from specified index till the END |
|